0
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-02-21 18:54:30 +01:00

move to div for block level

This commit is contained in:
Mark Otto 2017-08-09 08:24:34 -07:00 committed by Mark Otto
parent cf3bfa04ef
commit 72ddc091dd
2 changed files with 2 additions and 2 deletions

View File

@ -100,6 +100,6 @@
icon: '#' icon: '#'
} }
anchors.add('.bd-content > h2, .bd-content > h3, .bd-content > h4, .bd-content > h5') anchors.add('.bd-content > h2, .bd-content > h3, .bd-content > h4, .bd-content > h5')
$('.bd-content > h2, .bd-content > h3, .bd-content > h4, .bd-content > h5').wrapInner('<span></span>') $('.bd-content > h2, .bd-content > h3, .bd-content > h4, .bd-content > h5').wrapInner('<div></div>')
}) })
}(jQuery)) }(jQuery))

View File

@ -13,7 +13,7 @@
> h4[id] { > h4[id] {
pointer-events: none; pointer-events: none;
> span, > div,
> a { > a {
pointer-events: auto; pointer-events: auto;
} }