diff options
author | Jacob Thornton <jacobthornton@gmail.com> | 2012-01-25 23:49:00 +0400 |
---|---|---|
committer | Jacob Thornton <jacobthornton@gmail.com> | 2012-01-25 23:49:00 +0400 |
commit | 319b65e64b6882ad2184f398f1763543cfa48a16 (patch) | |
tree | 6aec268de06076f7493f18540fe0671c0ca55066 /js | |
parent | 25519bacd56ee2507cdde727d85458e5e5ef7949 (diff) |
prevent default
Diffstat (limited to 'js')
-rw-r--r-- | js/bootstrap-carousel.js | 1 |
1 files changed, 1 insertions, 0 deletions
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() }) }) |