0
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-02-19 16:54:24 +01:00

prevent default

This commit is contained in:
Jacob Thornton 2012-01-25 11:49:00 -08:00
parent 25519bacd5
commit 319b65e64b

View File

@ -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()
})
})