DEV Community

loading...

Discussion on: Sure you want to leave?—browser beforeunload event

Collapse
samthor profile image
Sam Thorogood Author

You could do the action and revert it if your JS runs again.