summaryrefslogtreecommitdiff
path: root/public/join.js
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2024-03-12 12:54:00 +0100
committerTor Andersson <tor@ccxvii.net>2024-03-13 14:40:59 +0100
commit3ac13cd9cc09c190b273a772320b7fe2ed4655a1 (patch)
treeb39c67d12516732dd24e17ce56126d395ef36cb9 /public/join.js
parente812ada4db11536fd8ddfb67410c436d792909b1 (diff)
downloadserver-3ac13cd9cc09c190b273a772320b7fe2ed4655a1.tar.gz
Prefix game IDs with #.
Diffstat (limited to 'public/join.js')
-rw-r--r--public/join.js4
1 files changed, 2 insertions, 2 deletions
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) {