diff options
author | metamuffin <metamuffin@disroot.org> | 2023-08-01 19:56:38 +0200 |
---|---|---|
committer | metamuffin <metamuffin@disroot.org> | 2023-08-01 19:56:38 +0200 |
commit | f7992589cf45c699599a7ee5fc4634c9db16ff87 (patch) | |
tree | 973c2e0bc9d50a9e137f999b3c1f231e8471c4be /server/src/routes/ui/style/transition.js | |
parent | 551e62a6012284823d6b22a9257c3fae07de7fd9 (diff) | |
download | jellything-f7992589cf45c699599a7ee5fc4634c9db16ff87.tar jellything-f7992589cf45c699599a7ee5fc4634c9db16ff87.tar.bz2 jellything-f7992589cf45c699599a7ee5fc4634c9db16ff87.tar.zst |
error format depends on accept header
Diffstat (limited to 'server/src/routes/ui/style/transition.js')
-rw-r--r-- | server/src/routes/ui/style/transition.js | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/server/src/routes/ui/style/transition.js b/server/src/routes/ui/style/transition.js index 7d39176..df09277 100644 --- a/server/src/routes/ui/style/transition.js +++ b/server/src/routes/ui/style/transition.js @@ -6,14 +6,14 @@ /// <reference lib="dom" /> const duration = 0.2 -globalThis.addEventListener("load", () => { - patch_page() -}) +// globalThis.addEventListener("load", () => { +// patch_page() +// }) -globalThis.addEventListener("popstate", (_e) => { - transition_to(window.location.href, true) - // transition_to(_e.state.href, true) -}) +// globalThis.addEventListener("popstate", (_e) => { +// transition_to(window.location.href, true) +// // transition_to(_e.state.href, true) +// }) function patch_page() { document.querySelectorAll("a").forEach(el => { |