diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html
index 454c091d..217e73a5 100644
--- a/layouts/partials/footer.html
+++ b/layouts/partials/footer.html
@@ -48,7 +48,7 @@
if (id === "top") {
history.replaceState(null, null, " ");
} else {
- history.replaceState(null, null, `#${id}`);
+ history.pushState(null, null, `#${id}`);
}
});
});