From f7992589cf45c699599a7ee5fc4634c9db16ff87 Mon Sep 17 00:00:00 2001 From: metamuffin Date: Tue, 1 Aug 2023 19:56:38 +0200 Subject: error format depends on accept header --- server/src/routes/ui/style/transition.js | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'server/src/routes/ui/style/transition.js') 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 @@ /// 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 => { -- cgit v1.2.3-70-g09d2