diff options
-rw-r--r-- | play.html | 4 | ||||
-rw-r--r-- | ui.js | 2 |
2 files changed, 3 insertions, 3 deletions
@@ -20,7 +20,7 @@ #grid_top.your_turn { background-color: orange; } .one .role_name { background-color: salmon; } .two .role_name { background-color: ghostwhite; } -.turn_info { background-color: gainsboro; } +#turn_info { background-color: gainsboro; } #log { background-color: ghostwhite; } #log .st { background-color: steelblue; color: white; font-weight: bold; } @@ -387,7 +387,7 @@ div.block { <div class="role_info"><div class="small_card card_back" id="york_card"></div></div> </div> - <div class="turn_info">-</div> + <div id="turn_info">-</div> </div> @@ -515,7 +515,7 @@ function update_map() { let overflow = { Lancaster: [], York: [], Rebel: [] }; let layout = {}; - document.querySelector(".turn_info").textContent = + document.getElementById("turn_info").textContent = "Campaign " + game.campaign + "\nKing: " + block_name(game.king) + "\nPretender: " + block_name(game.pretender); |