aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--assets/js/index.js4
-rw-r--r--static/js/pager.ts2
2 files changed, 0 insertions, 6 deletions
diff --git a/assets/js/index.js b/assets/js/index.js
index 4755113..f417396 100644
--- a/assets/js/index.js
+++ b/assets/js/index.js
@@ -62,10 +62,6 @@
history.go(-1);
}
};
- self.addEventListener("load", function() {
- link();
- scrollHash(url, true);
- });
[
"DOMContentLoaded",
"pageshow",
diff --git a/static/js/pager.ts b/static/js/pager.ts
index e93fcca..e818d17 100644
--- a/static/js/pager.ts
+++ b/static/js/pager.ts
@@ -67,8 +67,6 @@
}
};
- self.addEventListener("load", function () { link(); scrollHash(url, true); });
-
["DOMContentLoaded", "pageshow", "hashchange", "URLChangedCustomEvent"].forEach(
function (event) {
self.addEventListener(event, function (event) {