From: Jacob Thornton Date: Wed, 25 Jan 2012 19:49:00 +0000 (-0800) Subject: prevent default X-Git-Tag: v2.0.0~6^2~172^2~2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=319b65e64b6882ad2184f398f1763543cfa48a16;p=thirdparty%2Fbootstrap.git prevent default --- 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() }) })