Commit 9445b84b authored by sgamel's avatar sgamel

Ensure that hidden event is sent when content is really hidden (collapsing class is removed)

parent 0e5ec1ab
......@@ -96,9 +96,9 @@
var complete = function () {
this.transitioning = 0
this.$element
.trigger('hidden.bs.collapse')
.removeClass('collapsing')
.addClass('collapse')
.trigger('hidden.bs.collapse')
}
if (!$.support.transition) return complete.call(this)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment