if carousel element already open, don't reopen it duh bruh bruh
This commit is contained in:
parent
bbe4625672
commit
2c9f43f685
|
@ -52,7 +52,7 @@
|
||||||
, actives
|
, actives
|
||||||
, hasData
|
, hasData
|
||||||
|
|
||||||
if (this.transitioning) return
|
if (this.transitioning || this.$element.hasClass('in')) return
|
||||||
|
|
||||||
dimension = this.dimension()
|
dimension = this.dimension()
|
||||||
scroll = $.camelCase(['scroll', dimension].join('-'))
|
scroll = $.camelCase(['scroll', dimension].join('-'))
|
||||||
|
|
Loading…
Reference in New Issue