remove chatroom from main menu
authorGeoffrey Allott <geoffrey@allott.email>
Sun, 30 Jul 2023 19:19:08 +0000 (20:19 +0100)
committerGeoffrey Allott <geoffrey@allott.email>
Sun, 30 Jul 2023 19:19:08 +0000 (20:19 +0100)
site/modules/mainmenu.js

index e13d4b30696b7dd18b3040e13bd0e392a87bea29..a6db2d0429484745a2bad9710a30f1cb60d789ba 100644 (file)
@@ -41,17 +41,6 @@ export class MainMenu {
         cribbage.onclick = () => this.send({type: "JoinLobby", filter: "format: Cribbage and created_in_last: 24:00:00"});
         menu_container.append(cribbage);
 
-        const chatroom = document.createElement("div");
-        chatroom.classList.add("game-format-icon");
-        const chatroom_img = document.createElement("img");
-        chatroom_img.setAttribute("src", "img/chatroom.svg");
-        const chatroom_text = document.createElement("p");
-        chatroom_text.innerText = "Chatroom";
-        chatroom.append(chatroom_img);
-        chatroom.append(chatroom_text);
-        chatroom.onclick = () => this.send({type: "JoinLobby", filter: "format: Chatroom and created_in_last: 24:00:00"});
-        menu_container.append(chatroom);
-
         this.container.append(menu_container);
     }
 }