| assets/js/index.js | ●●●●● patch | view | raw | blame | history |
assets/js/index.js
@@ -105,7 +105,7 @@ }); const linkPositions = pageIds.map(function(id){ const heading = document.getElementById(id.replace('#','')); const heading = document.getElementById(decodeURIComponent(id.replace('#',''))); const position = heading.offsetTop; return position; }); @@ -340,4 +340,4 @@ } window.addEventListener('load', loadActions()); window.addEventListener('load', loadActions());