summaryrefslogtreecommitdiff
path: root/ui.js
diff options
context:
space:
mode:
Diffstat (limited to 'ui.js')
-rw-r--r--ui.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui.js b/ui.js
index 0799191..53125ae 100644
--- a/ui.js
+++ b/ui.js
@@ -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);