From: fat Date: Thu, 20 Dec 2012 09:05:07 +0000 (-0800) Subject: if carousel element already open, don't reopen it duh bruh bruh X-Git-Tag: v2.3.0^2~79^2~1^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2c9f43f6858597b3bbc6d4036a3bd1dd18d6181f;p=thirdparty%2Fbootstrap.git if carousel element already open, don't reopen it duh bruh bruh --- diff --git a/js/bootstrap-collapse.js b/js/bootstrap-collapse.js index 9e72112188..6755aa7e20 100644 --- a/js/bootstrap-collapse.js +++ b/js/bootstrap-collapse.js @@ -52,7 +52,7 @@ , actives , hasData - if (this.transitioning) return + if (this.transitioning || this.$element.hasClass('in')) return dimension = this.dimension() scroll = $.camelCase(['scroll', dimension].join('-'))