diff options
author | Tor Andersson <tor@ccxvii.net> | 2023-07-08 00:01:22 +0200 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2023-07-08 00:45:53 +0200 |
commit | da2a93b7c5944a4d149dcb247ccc56069b8c90d0 (patch) | |
tree | a40722374a96a81e31184882ef43de7dc2a65c0e /play.js | |
parent | c30bb468331f44801591ae4fbfce6f4132b8c873 (diff) | |
download | time-of-crisis-da2a93b7c5944a4d149dcb247ccc56069b8c90d0.tar.gz |
Tweak layout for mobile.
Diffstat (limited to 'play.js')
-rw-r--r-- | play.js | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -667,6 +667,7 @@ let ui = { combat_mask: document.getElementById("combat_mask"), discard: document.getElementById("discard"), played_header: document.getElementById("played_header"), + played_panel: document.getElementById("played_panel"), played: document.getElementById("played"), market: document.getElementById("market"), pieces: document.getElementById("pieces"), @@ -1448,7 +1449,7 @@ function on_update() { ui.active_event.replaceChildren() ui.active_event.appendChild(ui.event_cards[view.event]) - ui.played_header.className = "panel_header p_" + PLAYER_CLASS[view.current] + ui.played_panel.className = "panel p_" + PLAYER_CLASS[view.current] ui.played_header.textContent = PLAYER_NAME[view.current] + " Played" ui.played.className = "panel_body p_" + PLAYER_CLASS[view.current] ui.played.replaceChildren() |