summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--play.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/play.js b/play.js
index a935fe1..a91e755 100644
--- a/play.js
+++ b/play.js
@@ -288,7 +288,8 @@ function on_focus_region(evt) {
}
function on_focus_us_state(evt) {
- document.getElementById("status").textContent = US_STATES[evt.target.my_us_state].name
+ let us_state = US_STATES[evt.target.my_us_state]
+ document.getElementById("status").textContent = `${us_state.name} (${us_state.code})`
}
function on_click_card(evt) {