mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-21 04:41:36 +02:00
Use scroll-margin-top
instead of pseudo hack
This commit is contained in:
committed by
XhmikosR
parent
e45c92f1d5
commit
61b86c1e86
@@ -167,11 +167,5 @@
|
||||
}
|
||||
anchors.add('.bd-content > h2, .bd-content > h3, .bd-content > h4, .bd-content > h5')
|
||||
|
||||
// Wrap inner
|
||||
makeArray(document.querySelectorAll('.bd-content > h2, .bd-content > h3, .bd-content > h4, .bd-content > h5'))
|
||||
.forEach(function (hEl) {
|
||||
hEl.innerHTML = '<span class="bd-content-title">' + hEl.innerHTML + '</span>'
|
||||
})
|
||||
|
||||
bsCustomFileInput.init()
|
||||
})()
|
||||
|
Reference in New Issue
Block a user