0
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-02-19 16:54:24 +01:00

rebuild alerts

This commit is contained in:
Jacob Thornton 2012-02-16 20:05:09 -08:00
parent 792059b7ad
commit f9b578260f
2 changed files with 6 additions and 3 deletions

Binary file not shown.

View File

@ -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') ?