diff --git a/app/dist/scripts/app.js b/app/dist/scripts/app.js index be2b50f..3528f98 100755 --- a/app/dist/scripts/app.js +++ b/app/dist/scripts/app.js @@ -36,7 +36,7 @@ document.querySelectorAll("a[href^='#']").forEach(anchor => { if (document.getElementById(element)) { elementOffset = document.getElementById(element).offsetTop - 74; window.scroll({ top: elementOffset, behavior: "smooth" }); - history.replaceState({}, "", `#${element}`); // Add hash to URL bar + history.pushState({}, "", `#${element}`); // Add hash to URL bar } }); });