diff options
author | Tor Andersson <tor@ccxvii.net> | 2025-02-12 12:11:17 +0100 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2025-02-12 12:11:17 +0100 |
commit | f6e82a42e719362a90a6acf9c312388dec95b90f (patch) | |
tree | ebc0e2e3ef4ec939866356b79b8bee2a8c4c7d7a /play.js | |
parent | 8376e4749db15807c5ba4600c4a4348e4f5855ba (diff) | |
download | time-of-crisis-f6e82a42e719362a90a6acf9c312388dec95b90f.tar.gz |
Diffstat (limited to 'play.js')
-rw-r--r-- | play.js | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -1574,7 +1574,10 @@ function on_update() { ui.active_event.appendChild(ui.event_cards[view.event]) ui.played_panel.className = "panel p_" + PLAYER_CLASS[view.current] - ui.played_header.textContent = PLAYER_NAME[view.current] + " Played" + if (typeof view.current === "number") + ui.played_header.textContent = PLAYER_NAME[view.current] + " Played" + else + ui.played_header.textContent = "Played" ui.played.className = "panel_body p_" + PLAYER_CLASS[view.current] ui.played.replaceChildren() if (view.played) { |