mirror of
https://github.com/twbs/bootstrap.git
synced 2025-01-28 20:52:21 +01:00
Fix anchors wrapper.
This commit is contained in:
parent
388d16360a
commit
e04a5139ab
@ -150,10 +150,7 @@
|
||||
// Wrap inner
|
||||
bootstrap.Util.makeArray(document.querySelectorAll('.bd-content > h2, .bd-content > h3, .bd-content > h4, .bd-content > h5'))
|
||||
.forEach(function (hEl) {
|
||||
var span = document.createElement('span')
|
||||
span.classList.add('bd-content-title')
|
||||
hEl.parentElement.insertBefore(span, hEl)
|
||||
span.appendChild(hEl)
|
||||
hEl.innerHTML = '<span class="bd-content-title">' + hEl.innerHTML + '</span>'
|
||||
})
|
||||
|
||||
bsCustomFileInput.init()
|
||||
|
Loading…
x
Reference in New Issue
Block a user