0
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-01-17 09:52:29 +01:00

Change scope of docs anchor preventDefault to include modals.

This commit is contained in:
Bardi Harborow 2016-11-28 14:52:55 +11:00
parent 754698c4d7
commit fe4cd38877

View File

@ -33,7 +33,7 @@
$('.bd-example-indeterminate [type="checkbox"]').prop('indeterminate', true)
// Disable empty links in docs examples
$('.bd-example [href="#"]').click(function (e) {
$('.bd-content [href="#"]').click(function (e) {
e.preventDefault()
})