diff --git a/js/bootstrap-carousel.js b/js/bootstrap-carousel.js index 3262f0cab0..500c7da7fe 100644 --- a/js/bootstrap-carousel.js +++ b/js/bootstrap-carousel.js @@ -147,6 +147,7 @@ , $target = $($this.attr('data-target') || $this.attr('href')) , options = !$target.data('modal') && $.extend({}, $target.data(), $this.data()) $target.carousel(options) + e.preventDefault() }) })