diff --git a/docs/assets/bootstrap.zip b/docs/assets/bootstrap.zip index e51e7530627ab125d121e978d41030fb116086fc..ed054dd31faf2b31c3b56b9e0b48fa0468ea9c78 100644 Binary files a/docs/assets/bootstrap.zip and b/docs/assets/bootstrap.zip differ diff --git a/docs/assets/js/bootstrap-carousel.js b/docs/assets/js/bootstrap-carousel.js index 810256e80a646d1e8cbda4ab072ca805eb211121..aef98fb05aa9eca392ee892f10302a7a1a6538de 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') diff --git a/js/bootstrap-carousel.js b/js/bootstrap-carousel.js index 810256e80a646d1e8cbda4ab072ca805eb211121..aef98fb05aa9eca392ee892f10302a7a1a6538de 100644 --- a/js/bootstrap-carousel.js +++ b/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')