mirror of
https://github.com/Hopiu/bootstrap.git
synced 2026-03-25 16:50:23 +00: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
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Reference in a new issue