From 9918784ba0b71b406e98e069a4e2be10bf72f02e Mon Sep 17 00:00:00 2001 From: metamuffin Date: Fri, 26 Jan 2024 01:07:50 +0100 Subject: stop loading old site when transitioning --- web/script/transition.ts | 1 + 1 file changed, 1 insertion(+) (limited to 'web/script/transition.ts') diff --git a/web/script/transition.ts b/web/script/transition.ts index 42dda80..4cbab41 100644 --- a/web/script/transition.ts +++ b/web/script/transition.ts @@ -31,6 +31,7 @@ function patch_page() { } async function transition_to(href: string, back?: boolean) { + stop() // nice! if (disable_transition) return window.location.href = href const trigger_load = prepare_load(href, back) await fade(false) -- cgit v1.2.3-70-g09d2