Closed sderacy closed 2 years ago
Will probably want to look at the beforeUnload() event handler.
I was literally gonna say the same thing: https://stackoverflow.com/questions/1119289/how-to-show-the-are-you-sure-you-want-to-navigate-away-from-this-page-when-ch
Currently, if the user clicks to another page from profile or settings, it will actually just let them do so and lose all their changes. It should give them a choice to confirm this so that they don't lose any data accidentally.