summaryrefslogtreecommitdiff
path: root/play.js
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2024-01-01 13:08:40 +0100
committerTor Andersson <tor@ccxvii.net>2024-01-01 13:09:02 +0100
commit946ebb79a6c26788acabc3dff13aca9d8bbb5ea3 (patch)
tree6109fb125350435a5061da90376291ed8589674c /play.js
parentf66ff2991dbaa5a8496c37397e6610d4a3b2aaeb (diff)
downloadplantagenet-946ebb79a6c26788acabc3dff13aca9d8bbb5ea3.tar.gz
Use "card2" elements when showing hover card in current card display.
Diffstat (limited to 'play.js')
-rw-r--r--play.js5
1 files changed, 1 insertions, 4 deletions
diff --git a/play.js b/play.js
index 5758e71..3e638f4 100644
--- a/play.js
+++ b/play.js
@@ -1710,10 +1710,7 @@ function on_update() {
// === LOG ===
function on_focus_card_tip(c) {
- if (c <= first_york_card)
- ui.command.className = `card aow york c${c}`
- else
- ui.command.className = `card aow lancaster c${c}`
+ ui.command.replaceChildren(ui.cards2[c])
}
function on_blur_card_tip() {