change join game modal z-index, remove auto-focus

This commit is contained in:
AlecM33
2022-06-21 21:10:33 -04:00
parent 0ea2d13323
commit 8395aabc9e
2 changed files with 1 additions and 2 deletions

View File

@@ -15,7 +15,6 @@ const join = () => {
document.getElementById('game-player-count').innerText =
decodeURIComponent((new URL(document.location)).searchParams.get('playerCount')) + ' Players';
const form = document.getElementById('join-game-form');
document.getElementById('player-new-name').focus();
form.onsubmit = joinHandler;
} else {
window.location = '/not-found?reason=' + encodeURIComponent('invalid-access-code');