Browse Source

auto commit

master
jfinn 3 years ago
parent
commit
1edbb3ea1b
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/utils.ts

+ 1
- 1
src/utils.ts View File

@@ -460,7 +460,7 @@ export const focusNearestParent = (element: HTMLInputElement) => {
460 460
 
461 461
 export const preventUnload = (event: BeforeUnloadEvent) => {
462 462
   console.log("unprevent_unload")
463
-  // return 
463
+  return 
464 464
 
465 465
   event.preventDefault();
466 466
   // NOTE: modern browsers no longer allow showing a custom message here

Loading…
Cancel
Save