From: XhmikosR Date: Tue, 20 Nov 2018 21:41:54 +0000 (+0200) Subject: Fix anchors wrapper. X-Git-Tag: v5.0.0-alpha1~1280 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e04a5139ab09f42478161ba50d17540824117d46;p=thirdparty%2Fbootstrap.git Fix anchors wrapper. --- diff --git a/site/docs/4.3/assets/js/src/application.js b/site/docs/4.3/assets/js/src/application.js index a7f92e4563..1372971732 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 = '' + hEl.innerHTML + '' }) bsCustomFileInput.init()