From 34f337290c20537c5daa329315f3fa7fd569e236 Mon Sep 17 00:00:00 2001 From: vabene1111 Date: Wed, 1 Jan 2025 10:07:49 +0100 Subject: [PATCH] fixed comment --- vue3/src/composables/useModelEditorFunctions.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vue3/src/composables/useModelEditorFunctions.ts b/vue3/src/composables/useModelEditorFunctions.ts index c13af0f0ed..6b922ea211 100644 --- a/vue3/src/composables/useModelEditorFunctions.ts +++ b/vue3/src/composables/useModelEditorFunctions.ts @@ -37,7 +37,7 @@ export function useModelEditorFunctions(modelName: EditorSupportedModels, emi }) /** - * add event listener to page unload event (also triggered by router) to prevent accidentally closing with unsaved changes + * add event listener to page unload event to prevent accidentally closing with unsaved changes */ function setupPageLeaveWarning() { window.onbeforeunload = (event) => {