From 3ac13cd9cc09c190b273a772320b7fe2ed4655a1 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Tue, 12 Mar 2024 12:54:00 +0100 Subject: Prefix game IDs with #. --- public/join.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'public/join.js') diff --git a/public/join.js b/public/join.js index 78d9137..f3279ad 100644 --- a/public/join.js +++ b/public/join.js @@ -152,9 +152,9 @@ function update() { function update_common() { if (game.scenario !== "Standard") - document.querySelector("h1").textContent = game.title_name + " - " + game.scenario + document.querySelector("h1").textContent = "#" + game.game_id + " - " + game.title_name + " - " + game.scenario else - document.querySelector("h1").textContent = game.title_name + document.querySelector("h1").textContent = "#" + game.game_id + " - " + game.title_name let message = window.message if (game.status === 0) { -- cgit v1.2.3