diff options
| author | Jacob Thornton <[email protected]> | 2012-01-25 11:49:00 -0800 |
|---|---|---|
| committer | Jacob Thornton <[email protected]> | 2012-01-25 11:49:00 -0800 |
| commit | 319b65e64b6882ad2184f398f1763543cfa48a16 (patch) | |
| tree | 6aec268de06076f7493f18540fe0671c0ca55066 | |
| parent | 25519bacd56ee2507cdde727d85458e5e5ef7949 (diff) | |
| download | bootstrap-319b65e64b6882ad2184f398f1763543cfa48a16.tar.xz bootstrap-319b65e64b6882ad2184f398f1763543cfa48a16.zip | |
prevent default
| -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 3262f0cab..500c7da7f 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() }) }) |
