From 946ebb79a6c26788acabc3dff13aca9d8bbb5ea3 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Mon, 1 Jan 2024 13:08:40 +0100 Subject: Use "card2" elements when showing hover card in current card display. --- play.js | 5 +---- 1 file changed, 1 insertion(+), 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() { -- cgit v1.2.3