diff options
-rw-r--r-- | play.js | 13 |
1 files changed, 0 insertions, 13 deletions
@@ -252,7 +252,6 @@ function on_blur_card_tip() { } function on_focus_last_card() { - console.log("focus", view.last_card) if (typeof view.last_card === 'number') { document.getElementById("tooltip").className = "card show card_" + view.last_card } @@ -689,16 +688,6 @@ function on_blur_marker(evt) { ui.status.textContent = "" } -function on_focus_card(evt) { - let id = evt.target.card - let card = cards[id] - ui.status.textContent = `#${id} ${card.name} [${card.activation}]` -} - -function on_blur_card(evt) { - ui.status.textContent = "" -} - // CARD MENU var card_action_menu = Array.from(document.getElementById("popup").querySelectorAll("li[data-action]")).map(e => e.dataset.action) @@ -1003,8 +992,6 @@ function build_card(id) { elt.card = id elt.className = "card card_" + id elt.addEventListener("click", on_click_card) - elt.addEventListener("mouseenter", on_focus_card) - elt.addEventListener("mouseleave", on_blur_card) ui.cards.appendChild(elt) } |