From 62250eefcb4a811e726fb696e3fff6cde9ff0815 Mon Sep 17 00:00:00 2001 From: Mawoka Date: Mon, 26 Sep 2022 18:30:25 +0200 Subject: [PATCH] :bug: Uncommented commented-out statement for testing purposes --- frontend/src/lib/editor.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/lib/editor.svelte b/frontend/src/lib/editor.svelte index 003bb89..18a8de2 100644 --- a/frontend/src/lib/editor.svelte +++ b/frontend/src/lib/editor.svelte @@ -113,7 +113,7 @@ if (res.ok) { confirm_to_leave = false; console.log(confirm_to_leave); - // window.location.href = '/dashboard'; + window.location.href = '/dashboard'; } else { alert('Error'); }