mirror of
https://github.com/twbs/bootstrap.git
synced 2025-01-17 09:52:29 +01:00
Ensure that hidden event is sent when content is really hidden (collapsing class is removed)
This commit is contained in:
parent
0e5ec1ab7a
commit
9445b84b0b
@ -96,9 +96,9 @@
|
|||||||
var complete = function () {
|
var complete = function () {
|
||||||
this.transitioning = 0
|
this.transitioning = 0
|
||||||
this.$element
|
this.$element
|
||||||
.trigger('hidden.bs.collapse')
|
|
||||||
.removeClass('collapsing')
|
.removeClass('collapsing')
|
||||||
.addClass('collapse')
|
.addClass('collapse')
|
||||||
|
.trigger('hidden.bs.collapse')
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!$.support.transition) return complete.call(this)
|
if (!$.support.transition) return complete.call(this)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user