diff options
Diffstat (limited to 'ui.js')
-rw-r--r-- | ui.js | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -699,9 +699,9 @@ function on_update() { document.getElementById("caesar_vp").textContent = game.c_vp + " VP"; document.getElementById("pompeius_vp").textContent = game.p_vp + " VP"; if (game.turn < 1) - document.querySelector(".turn_info").textContent = `Year ${game.year}`; + document.getElementById("turn_info").textContent = `Year ${game.year}`; else - document.querySelector(".turn_info").textContent = `Turn ${game.turn} of Year ${game.year}`; + document.getElementById("turn_info").textContent = `Turn ${game.turn} of Year ${game.year}`; show_action_button("#undo_button", "undo"); show_action_button("#surprise_button", "surprise"); |