diff --git a/frontend/composables/use-navigation-warning.ts b/frontend/composables/use-navigation-warning.ts index 2dff77d39a8a..85cf0b85e69b 100644 --- a/frontend/composables/use-navigation-warning.ts +++ b/frontend/composables/use-navigation-warning.ts @@ -9,7 +9,6 @@ export function useNavigationWarning() { * or closing the tab. */ const activateNavigationWarning = () => { - console.log("ACTIVATE"); window.onbeforeunload = () => true; } @@ -17,6 +16,5 @@ const activateNavigationWarning = () => { * Disables the warning when navigating to a page */ const deactivateNavigationWarning = () => { - console.log("deACTIVATE"); window.onbeforeunload = null; }