~scrumplex/website

669201526bbac3e030592d0f17065d50d5058ab9 — Sefa Eyeoglu 17 days ago 79d382a
feat: push current anchor onto history
1 files changed, 1 insertions(+), 0 deletions(-)

M src/js/application.js
M src/js/application.js => src/js/application.js +1 -0
@@ 66,6 66,7 @@ function applyScrollSpecial(targetSelector) {
        return false;
    const offset = applyScroll(targetElem);
    window.scrollTo({top: offset, behavior: "smooth"});
    history.pushState({hash: targetSelector}, "", targetSelector);
    return true;
}