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: '#'
}
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))

View File

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