aboutsummaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
Diffstat (limited to 'js')
-rw-r--r--js/carousel.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/carousel.js b/js/carousel.js
index fbd055116..a9a2eb2d1 100644
--- a/js/carousel.js
+++ b/js/carousel.js
@@ -100,7 +100,7 @@
$next = this.$element.find('.item')[fallback]()
}
- if ($next.hasClass('active')) return
+ if ($next.hasClass('active')) return this.sliding = false
var e = $.Event('slide.bs.carousel', { relatedTarget: $next[0], direction: direction })
this.$element.trigger(e)