mirror of
https://github.com/tobspr-games/shapez.io.git
synced 2026-04-27 15:21:22 -07:00
Fix eslint warning
This commit is contained in:
parent
8b9ce418f3
commit
ff7c822ccc
1 changed files with 1 additions and 2 deletions
|
|
@ -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?";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue