From: Jacob Thornton Date: Fri, 17 Feb 2012 04:05:09 +0000 (-0800) Subject: rebuild alerts X-Git-Tag: v2.0.1~1^2~12 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=f9b578260f8898748a2de10bc0bec74699ec5c10;p=thirdparty%2Fbootstrap.git rebuild alerts --- diff --git a/docs/assets/bootstrap.zip b/docs/assets/bootstrap.zip index 2041e410bc..e433b73054 100644 Binary files a/docs/assets/bootstrap.zip and b/docs/assets/bootstrap.zip differ diff --git a/docs/assets/js/bootstrap-alert.js b/docs/assets/js/bootstrap-alert.js index 56d89c2986..1d69c5f533 100644 --- a/docs/assets/js/bootstrap-alert.js +++ b/docs/assets/js/bootstrap-alert.js @@ -51,11 +51,14 @@ $parent.length || ($parent = $this.hasClass('alert') ? $this : $this.parent()) - $parent.removeClass('in') + $parent + .trigger('close') + .removeClass('in') function removeElement() { - $parent.remove() - $parent.trigger('closed') + $parent + .trigger('closed') + .remove() } $.support.transition && $parent.hasClass('fade') ?