diff options
author | tdro <tdro@noreply.example.com> | 2024-01-17 13:32:28 -0500 |
---|---|---|
committer | tdro <tdro@noreply.example.com> | 2024-01-17 13:33:21 -0500 |
commit | b545e1cc865898bf6e56e29c5df21942a8771b7e (patch) | |
tree | c795d64949105cc8d3fc87d696762c574c102f7e | |
parent | f4df1cbd7b4000d624147524681e4643bf1449f0 (diff) | |
download | canory-b545e1cc865898bf6e56e29c5df21942a8771b7e.tar.gz canory-b545e1cc865898bf6e56e29c5df21942a8771b7e.tar.bz2 canory-b545e1cc865898bf6e56e29c5df21942a8771b7e.zip |
static/js/pager: Drop the load event
-rw-r--r-- | assets/js/index.js | 4 | ||||
-rw-r--r-- | static/js/pager.ts | 2 |
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) { |