mirror of
https://github.com/twbs/bootstrap.git
synced 2025-09-27 13:59:06 +02:00
make generic fade animation css class
This commit is contained in:
4
examples/assets/js/bootstrap-alerts.js
vendored
4
examples/assets/js/bootstrap-alerts.js
vendored
@@ -51,11 +51,11 @@
|
||||
that.$element = null
|
||||
}
|
||||
|
||||
$.support.transition ?
|
||||
$.support.transition && this.$element.hasClass('fade') ?
|
||||
this.$element.bind(transitionEnd, removeElement) :
|
||||
removeElement()
|
||||
|
||||
this.$element.removeClass('show')
|
||||
this.$element.removeClass('in')
|
||||
}
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user