mirror of
https://github.com/twbs/bootstrap.git
synced 2025-01-29 21:52:22 +01:00
Change scope of docs anchor preventDefault to include modals.
This commit is contained in:
parent
754698c4d7
commit
fe4cd38877
@ -33,7 +33,7 @@
|
|||||||
$('.bd-example-indeterminate [type="checkbox"]').prop('indeterminate', true)
|
$('.bd-example-indeterminate [type="checkbox"]').prop('indeterminate', true)
|
||||||
|
|
||||||
// Disable empty links in docs examples
|
// Disable empty links in docs examples
|
||||||
$('.bd-example [href="#"]').click(function (e) {
|
$('.bd-content [href="#"]').click(function (e) {
|
||||||
e.preventDefault()
|
e.preventDefault()
|
||||||
})
|
})
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user