aboutsummaryrefslogtreecommitdiff
path: root/assets/js/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'assets/js/index.js')
-rw-r--r--assets/js/index.js3
1 files changed, 0 insertions, 3 deletions
diff --git a/assets/js/index.js b/assets/js/index.js
index b284ce8..1c2715b 100644
--- a/assets/js/index.js
+++ b/assets/js/index.js
@@ -32,9 +32,6 @@
const currentPosition = self.pageYOffset;
settings["pager"][url] = currentPosition;
localStorage["settings"] = JSON.stringify(settings);
- if (self.location.hash.length === 0) {
- history.replaceState({}, document.title, window.location.href.split("#")[0]);
- }
});
self.addEventListener("DOMContentLoaded", function() {
const up = document.getElementById("top");