diff options
author | Jacob Thornton <jacobthornton@gmail.com> | 2012-02-21 10:02:04 +0400 |
---|---|---|
committer | Jacob Thornton <jacobthornton@gmail.com> | 2012-02-21 10:02:04 +0400 |
commit | d149a131c14bb8be32ecc306f2128dddec9e83bf (patch) | |
tree | c3ab00fb5874b758f4ed8f6b39b764a01bfc4c7f /docs/assets/js/bootstrap-carousel.js | |
parent | f046c12bd21b03d9b34e7e5f6386f7f4b614eace (diff) |
remake
Diffstat (limited to 'docs/assets/js/bootstrap-carousel.js')
-rw-r--r-- | docs/assets/js/bootstrap-carousel.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/assets/js/bootstrap-carousel.js b/docs/assets/js/bootstrap-carousel.js index 810256e80a..aef98fb05a 100644 --- a/docs/assets/js/bootstrap-carousel.js +++ b/docs/assets/js/bootstrap-carousel.js @@ -83,14 +83,14 @@ , fallback = type == 'next' ? 'first' : 'last' , that = this - if (!$next.length) return - this.sliding = true isCycling && this.pause() $next = $next.length ? $next : this.$element.find('.item')[fallback]() + if ($next.hasClass('active')) return + if (!$.support.transition && this.$element.hasClass('slide')) { this.$element.trigger('slide') $active.removeClass('active') |