Skip to content

Commit

Permalink
Update index.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
Tombarr committed Mar 17, 2021
1 parent 1a0f2e2 commit d5df15d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,8 @@ export class PacmanGame extends Phaser.Game {
case 'GoBack':
case 'Escape':
case 'Backspace':
onBeforeExit();
event.preventDefault();
onBeforeExit();
return true;
}
}
Expand Down

0 comments on commit d5df15d

Please sign in to comment.