Fix eslint warning

This commit is contained in:
tobspr 2020-05-24 18:49:14 +02:00
parent 8b9ce418f3
commit ff7c822ccc
1 changed files with 1 additions and 2 deletions

View File

@ -301,8 +301,7 @@ export class Application {
logSection("BEFORE UNLOAD HANDLER", "#f77");
if (!G_IS_DEV && this.stateMgr.getCurrentState().getHasUnloadConfirmation()) {
if (G_IS_STANDALONE) {
} else {
if (!G_IS_STANDALONE) {
// Need to show a "Are you sure you want to exit"
event.preventDefault();
event.returnValue = "Are you sure you want to exit?";