]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Ensure that hidden event is sent when content is really hidden (collapsing class... 13928/head
authorsgamel <sylvain.gamel@amadeus.com>
Thu, 26 Jun 2014 08:18:45 +0000 (10:18 +0200)
committersgamel <sylvain.gamel@amadeus.com>
Thu, 26 Jun 2014 08:18:45 +0000 (10:18 +0200)
js/collapse.js

index eb688f480669a4c645a678b6721147c8b87d797a..72db8adb5076fe6e10f4083e60e05ed8772d8171 100644 (file)
@@ -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)