summaryrefslogtreecommitdiff
path: root/ui.js
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2021-06-22 21:55:40 +0200
committerTor Andersson <tor@ccxvii.net>2022-11-16 19:19:38 +0100
commit060e9d08262573823692f5d8714099b69c75c6e3 (patch)
tree3e363828a09c96a3db83249912e2a0dd60ca4973 /ui.js
parent38675924e1948ab7a5e034cddde7e3db7e4805c8 (diff)
downloadcrusader-rex-060e9d08262573823692f5d8714099b69c75c6e3.tar.gz
crusader: Alternate seats for drawing.
Diffstat (limited to 'ui.js')
-rw-r--r--ui.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/ui.js b/ui.js
index b2ead8b..c93a9b8 100644
--- a/ui.js
+++ b/ui.js
@@ -63,6 +63,8 @@ let ui = {
function on_focus_town(evt) {
let where = evt.target.town;
let text = where;
+ if (where in SHIELDS)
+ text += " \u2014 " + SHIELDS[where].join(", ");
document.getElementById("status").textContent = text;
}