From e04a5139ab09f42478161ba50d17540824117d46 Mon Sep 17 00:00:00 2001 From: XhmikosR Date: Tue, 20 Nov 2018 23:41:54 +0200 Subject: Fix anchors wrapper. --- site/docs/4.3/assets/js/src/application.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'site/docs/4.3') 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() -- cgit v1.2.3