mirror of
https://github.com/tenrok/bootstrap.git
synced 2026-06-17 19:21:23 +03:00
prevent default
This commit is contained in:
Vendored
+1
@@ -147,6 +147,7 @@
|
|||||||
, $target = $($this.attr('data-target') || $this.attr('href'))
|
, $target = $($this.attr('data-target') || $this.attr('href'))
|
||||||
, options = !$target.data('modal') && $.extend({}, $target.data(), $this.data())
|
, options = !$target.data('modal') && $.extend({}, $target.data(), $this.data())
|
||||||
$target.carousel(options)
|
$target.carousel(options)
|
||||||
|
e.preventDefault()
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user