diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index 3094209b..a1f4af0f 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -31,7 +31,7 @@ anchor.addEventListener("click", function (e) { e.preventDefault(); var id = this.getAttribute("href").substr(1); - document.querySelector(`[id='${id}']`).scrollIntoView({ + document.querySelector(`[id='${decodeURIComponent(id)}']`).scrollIntoView({ behavior: "smooth" }); });