mirror of
https://github.com/twbs/bootstrap.git
synced 2022-11-09 12:25:43 -05:00
if carousel element already open, don't reopen it duh bruh bruh
This commit is contained in:
parent
bbe4625672
commit
2c9f43f685
1 changed files with 1 additions and 1 deletions
2
js/bootstrap-collapse.js
vendored
2
js/bootstrap-collapse.js
vendored
|
@ -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('-'))
|
||||
|
|
Loading…
Reference in a new issue