Skip to content
Snippets Groups Projects
Commit c153b8f5 authored by Patrick's avatar Patrick
Browse files

Changed error message.

parent 72dc99ae
Branches
No related tags found
1 merge request!1Update 1
......@@ -47,7 +47,7 @@
document.querySelector("#join-game").onclick = () => {
socket.emit("join game", null, (duplicate) => {
if (duplicate) {
document.querySelector("#error-container").textContent = "Sorry, but you logged in as a duplicate user.";
document.querySelector("#error-container").textContent = "Already joined game.";
document.querySelector("#player-info-container").style.display = "none";
document.querySelector("#board-container").style.display = "none";
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment