diff --git a/html/index.html b/html/index.html index 04c1f3a..768a9ca 100644 --- a/html/index.html +++ b/html/index.html @@ -312,11 +312,13 @@

Player 2 Name

const lobbyPage = document.querySelector(".lobby-page"); + const landingPage = document.querySelector(".landing-page"); const gamePage = document.querySelector(".game-page"); lobbyPage.style.display = "none"; - gamePage.style.display = "block"; - //here landingPage.style.display = "none"; + gamePage.style.display = "block"; + + if (playerNickItems.length > 0) {