mirror of
https://github.com/Hopiu/bootstrap.git
synced 2026-04-16 10:30:58 +00:00
prevent default
This commit is contained in:
parent
25519bacd5
commit
319b65e64b
1 changed files with 1 additions and 0 deletions
1
js/bootstrap-carousel.js
vendored
1
js/bootstrap-carousel.js
vendored
|
|
@ -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()
|
||||
})
|
||||
})
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue