mirror of
https://github.com/twbs/bootstrap.git
synced 2025-02-19 16:54:24 +01:00
fires closed.bs.alert *after* DOM detach()
fires closed.bs.alert *after* element is removed from DOM. Previously it fired while the element was still attached.
This commit is contained in:
parent
9c4afc5772
commit
637808f2ee
@ -42,7 +42,7 @@
|
||||
$parent.removeClass('in')
|
||||
|
||||
function removeElement() {
|
||||
$parent.trigger('closed.bs.alert').remove()
|
||||
$parent.detach().trigger('closed.bs.alert')
|
||||
}
|
||||
|
||||
$.support.transition && $parent.hasClass('fade') ?
|
||||
|
Loading…
x
Reference in New Issue
Block a user