diff options
| author | fat <[email protected]> | 2012-12-20 01:05:07 -0800 |
|---|---|---|
| committer | fat <[email protected]> | 2012-12-20 01:05:07 -0800 |
| commit | 2c9f43f6858597b3bbc6d4036a3bd1dd18d6181f (patch) | |
| tree | 7c7ed75b46a9e47964f56dee4f2771a3cc90f52d | |
| parent | bbe4625672c5122bb2b06c495f9ea41752c10467 (diff) | |
| download | bootstrap-2c9f43f6858597b3bbc6d4036a3bd1dd18d6181f.tar.xz bootstrap-2c9f43f6858597b3bbc6d4036a3bd1dd18d6181f.zip | |
if carousel element already open, don't reopen it duh bruh bruh
| -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 9e7211218..6755aa7e2 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('-')) |
