mirror of
https://github.com/Hopiu/bootstrap.git
synced 2026-04-08 23:10:59 +00:00
Fix anchors wrapper.
This commit is contained in:
parent
388d16360a
commit
e04a5139ab
1 changed files with 1 additions and 4 deletions
|
|
@ -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…
Reference in a new issue