Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorJacob Thornton <jacobthornton@gmail.com>2012-01-25 23:49:00 +0400
committerJacob Thornton <jacobthornton@gmail.com>2012-01-25 23:49:00 +0400
commit319b65e64b6882ad2184f398f1763543cfa48a16 (patch)
tree6aec268de06076f7493f18540fe0671c0ca55066 /js
parent25519bacd56ee2507cdde727d85458e5e5ef7949 (diff)
prevent default
Diffstat (limited to 'js')
-rw-r--r--js/bootstrap-carousel.js1
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()
})
})