summaryrefslogtreecommitdiff
path: root/play.js
diff options
context:
space:
mode:
Diffstat (limited to 'play.js')
-rw-r--r--play.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/play.js b/play.js
index bfe4578..b0c0644 100644
--- a/play.js
+++ b/play.js
@@ -765,7 +765,7 @@ function on_update() {
function sub_card_name(_match, p1) {
let x = p1 | 0
- return `<span class="card_name" onmouseenter="on_focus_card_tip(${x})" onmouseleave="on_blur_card_tip()">${cards[x].name}</span>`
+ return `<span class="card_name" onmouseenter="on_focus_card_tip(${x})" onmouseleave="on_blur_card_tip()">${cards[x].name.replace("*", "")}</span>`
}
function sub_power_card_name(_match, p1) {
@@ -829,7 +829,6 @@ function on_log(text) {
p.className = "h3"
}
- text = text.replace(/([a-zA-Z])\*/g, "$1")
p.innerHTML = text
return p
}