diff options
| -rw-r--r-- | site/docs/4.3/assets/js/src/application.js | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/site/docs/4.3/assets/js/src/application.js b/site/docs/4.3/assets/js/src/application.js index a7f92e456..137297173 100644 --- a/site/docs/4.3/assets/js/src/application.js +++ b/site/docs/4.3/assets/js/src/application.js @@ -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() |
