function offsetAnchor() { if(location.hash.length !== 0) { window.scrollTo(window.scrollX, window.scrollY - 480); } } window.addEventListener("hashchange", offsetAnchor); window.setTimeout(offsetAnchor, 1);
by DevAccount | May 3, 2023
Recent Comments