diff --git a/frontend/src/routes/room/[...slug]/+page.svelte b/frontend/src/routes/room/[...slug]/+page.svelte index 7fa1b19..839d7ca 100644 --- a/frontend/src/routes/room/[...slug]/+page.svelte +++ b/frontend/src/routes/room/[...slug]/+page.svelte @@ -411,10 +411,10 @@ let fade = false; - /*beforeNavigate((n) => { + beforeNavigate((n) => { if (fade == false && !!n.to?.url) { fade = true; - //n.cancel(); + n.cancel(); setTimeout(() => { if (!!n.to?.url) { goto(n.to?.url); @@ -423,7 +423,7 @@ } else { fade = false; } - });*/ + }); afterNavigate((n) => { let oldParcoursId = @@ -455,6 +455,8 @@ ws.close(1000); }); + $: console.log($page.url.searchParams.toString(),$page.url.searchParams.get('p')) +