Skip to content

Commit

Permalink
fullscreen shortcut test
Browse files Browse the repository at this point in the history
  • Loading branch information
JamesMeadows4 authored Jan 8, 2025
1 parent 886dd85 commit 9538efc
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions play/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -833,6 +833,10 @@ <h2>Redirecting to the game...</h2>
}
});

document.addEventListener("keydown", e => {
if (e.key === "f") fullscreenButton.click();
});

const cardContainer = document.getElementById("cardContainer");

function adjustImgPath(path, page) {
Expand Down

0 comments on commit 9538efc

Please sign in to comment.