diff options
| author | Martijn Cuppens <[email protected]> | 2020-02-23 16:23:55 +0100 |
|---|---|---|
| committer | XhmikosR <[email protected]> | 2020-03-12 17:56:16 +0200 |
| commit | 61b86c1e8620032278f6b8ea8edda35e4e886157 (patch) | |
| tree | 164bf58d384c30675b0eb7457bcf46bcd666bcd8 /site/assets/js/application.js | |
| parent | e45c92f1d5aeccb34657bbdf452ff12b371cff3c (diff) | |
| download | bootstrap-61b86c1e8620032278f6b8ea8edda35e4e886157.tar.xz bootstrap-61b86c1e8620032278f6b8ea8edda35e4e886157.zip | |
Use `scroll-margin-top` instead of pseudo hack
Diffstat (limited to 'site/assets/js/application.js')
| -rw-r--r-- | site/assets/js/application.js | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/site/assets/js/application.js b/site/assets/js/application.js index 0cf4199c9..d5a68c7e1 100644 --- a/site/assets/js/application.js +++ b/site/assets/js/application.js @@ -167,11 +167,5 @@ } anchors.add('.bd-content > h2, .bd-content > h3, .bd-content > h4, .bd-content > h5') - // Wrap inner - makeArray(document.querySelectorAll('.bd-content > h2, .bd-content > h3, .bd-content > h4, .bd-content > h5')) - .forEach(function (hEl) { - hEl.innerHTML = '<span class="bd-content-title">' + hEl.innerHTML + '</span>' - }) - bsCustomFileInput.init() })() |
