Skip to content

Commit

Permalink
Join button in Lobby.js file (58)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ashikkalis committed Jan 9, 2025
1 parent 70f645e commit 3e51e3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion public/js/dashboard/lobbys.js
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@

li.querySelector('.start-btn').addEventListener('click', async (event) => {
const lobbyId = event.target.getAttribute('data-lobby-id');
window.location.href = `game2.html?lobby_id=${lobbyId}`;
window.location.href = `game.html?lobby_id=${lobbyId}`;
});


Expand Down

0 comments on commit 3e51e3f

Please sign in to comment.