From 9445b84b0bdc5a97609ddeaf9b292d3a14083d55 Mon Sep 17 00:00:00 2001 From: sgamel Date: Thu, 26 Jun 2014 10:18:45 +0200 Subject: [PATCH] Ensure that hidden event is sent when content is really hidden (collapsing class is removed) --- js/collapse.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/collapse.js b/js/collapse.js index eb688f4806..72db8adb50 100644 --- a/js/collapse.js +++ b/js/collapse.js @@ -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)