diff options
Diffstat (limited to 'web/script/transition.ts')
-rw-r--r-- | web/script/transition.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web/script/transition.ts b/web/script/transition.ts index 00ed9a7..e0ee6f5 100644 --- a/web/script/transition.ts +++ b/web/script/transition.ts @@ -36,7 +36,6 @@ async function transition_to(href: string, back?: boolean) { await fade(false) trigger_load() disable_transition = false; - await fade(true) } function show_error(mesg: string) { @@ -60,6 +59,7 @@ function prepare_load(href: string, back?: boolean) { document.head.innerHTML = head document.body.outerHTML = body globalThis.dispatchEvent(new Event("DOMContentLoaded")) + fade(true) } } |