From 2c9f43f6858597b3bbc6d4036a3bd1dd18d6181f Mon Sep 17 00:00:00 2001 From: fat Date: Thu, 20 Dec 2012 01:05:07 -0800 Subject: [PATCH] if carousel element already open, don't reopen it duh bruh bruh --- js/bootstrap-collapse.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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('-'))