diff options
author | fat <jacobthornton@gmail.com> | 2012-12-20 13:05:07 +0400 |
---|---|---|
committer | fat <jacobthornton@gmail.com> | 2012-12-20 13:05:07 +0400 |
commit | 2c9f43f6858597b3bbc6d4036a3bd1dd18d6181f (patch) | |
tree | 7c7ed75b46a9e47964f56dee4f2771a3cc90f52d /js | |
parent | bbe4625672c5122bb2b06c495f9ea41752c10467 (diff) |
if carousel element already open, don't reopen it duh bruh bruh
Diffstat (limited to 'js')
-rw-r--r-- | js/bootstrap-collapse.js | 2 |
1 files changed, 1 insertions, 1 deletions
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('-')) |