I'd prefer hide. Currently I have to code around this.

Bill
----------------------
http://billlazar.com
http://billsaysthis.com

On Feb 10, 2012, at 6:34 PM, Eric Warnke <[email protected]> wrote:

> I thought I'd bring this to the group instead of arguing on GitHub
> since this is more conducive to discussion.
>
> Currently the alert plugin completely removes the alert div from the
> DOM when it's clicked, via remove().
>
> My question to the community is whether that is the expected behaviour
> or if the word "close" implies more of a hide function. The immediate
> problem I noticed is that if I close an alert I then have to either
> insert a new element or modify the original alert's default behaviour
> in order to reuse that element.
>
> So, does "close" equal "remove" for most people or does it imply
> "hide" and therefore default action isn't consistent with
> expectations?
>
> Cheers,
> Eric

Reply via email to