summaryrefslogtreecommitdiff
path: root/play.js
diff options
context:
space:
mode:
Diffstat (limited to 'play.js')
-rw-r--r--play.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/play.js b/play.js
index ae7c8eb..4312488 100644
--- a/play.js
+++ b/play.js
@@ -401,7 +401,7 @@ function build_user_interface() {
for (let c = 1; c <= card_count; ++c) {
elt = ui.cards[c] = create("div", {
- className: `card card_${c}`,
+ className: `card card_${c} ${CARDS[c].type}`,
my_card: c,
})
// TODO use onmousedown and figure out why it didn't work on mobile