if carousel element already open, don't reopen it duh bruh bruh

This commit is contained in:
fat 2012-12-20 01:05:07 -08:00
parent bbe4625672
commit 2c9f43f685
1 changed files with 1 additions and 1 deletions

View File

@ -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('-'))