Skip to content

Commit

Permalink
Allow to skip opening intro animation by pressing any key as well
Browse files Browse the repository at this point in the history
  • Loading branch information
mrfatguy committed Nov 5, 2024
1 parent 38b8406 commit 5d18f60
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,10 @@
document.getElementById('background').addEventListener('click', function() {
gotoMenu();
});

document.addEventListener('keydown', function() {
gotoMenu();
});
});
</script>
</body>
Expand Down

0 comments on commit 5d18f60

Please sign in to comment.