diff --git a/static/src/js/base.js b/static/src/js/base.js index 94a7cb5..acc333d 100644 --- a/static/src/js/base.js +++ b/static/src/js/base.js @@ -61,6 +61,10 @@ window.addEventListener("load", () => { window.addEventListener("DOMContentLoaded", () => { setHeroHeight(); + if (window.location.hash <= 1) { + return; + } + let scrollTarget = null; try { scrollTarget = document.getElementById(window.location.hash.slice(1));