summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2025-03-28 19:28:49 +0100
committerTor Andersson <tor@ccxvii.net>2025-03-28 19:31:01 +0100
commitc1e92a93746613965bf534572d84d95a7c2f6826 (patch)
tree2556143aa34a2013a2e03abc29b1d1cc1944f6f0
parentdbb2be78bb20a2e6ffc70f8b84df21c6a829b306 (diff)
downloadland-and-freedom-c1e92a93746613965bf534572d84d95a7c2f6826.tar.gz
Show medallion text tip on log mouseover too.
-rw-r--r--play.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/play.js b/play.js
index 5bd18fa..a7d8ce7 100644
--- a/play.js
+++ b/play.js
@@ -623,10 +623,12 @@ function on_focus_card_tip(x) {
}
function on_focus_medallion_tip(x) {
+ ui.status.textContent = data.medallions[x].name + ": " + data.medallions[x].tooltip
ui.tooltip.className = "pink token medallion medallion_" + x
}
function on_blur_tip(x) {
+ ui.status.textContent = ""
ui.tooltip.className = "hide"
}