From 319b65e64b6882ad2184f398f1763543cfa48a16 Mon Sep 17 00:00:00 2001 From: Jacob Thornton Date: Wed, 25 Jan 2012 11:49:00 -0800 Subject: [PATCH] prevent default --- js/bootstrap-carousel.js | 1 + 1 file changed, 1 insertion(+) 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() }) })