Skip to content

Commit

Permalink
fixed comment
Browse files Browse the repository at this point in the history
  • Loading branch information
vabene1111 committed Jan 1, 2025
1 parent 8159838 commit 34f3372
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vue3/src/composables/useModelEditorFunctions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export function useModelEditorFunctions<T>(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) => {
Expand Down

0 comments on commit 34f3372

Please sign in to comment.