Skip to content

Commit

Permalink
Stop disabling unload from JS
Browse files Browse the repository at this point in the history
This should be rather controlled from the browser profile settings.
Also this was not only prevent the Installer window from closing,
but was giving annoying popups when links were about to be opened.
  • Loading branch information
KKoukiou committed Sep 13, 2024
1 parent 8429c2c commit 12cdf67
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/components/app.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,6 @@ export const Application = () => {
return;
}

// Before unload ask the user for verification
window.onbeforeunload = () => "";

dispatch(setCriticalErrorAction());

Promise.all(clients.map(Client => new Client(address, dispatch).init()))
Expand Down

0 comments on commit 12cdf67

Please sign in to comment.