summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--play.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/play.js b/play.js
index 4893a7b..0cdc0fe 100644
--- a/play.js
+++ b/play.js
@@ -672,7 +672,7 @@ function on_update() { // eslint-disable-line no-unused-vars
document.getElementById("strategy_draw").replaceChildren()
document.getElementById("out_of_play").replaceChildren()
- if (view.hand) {
+ if (view.hand.length) {
document.getElementById("hand_panel").classList.remove("hide")
for (let c of view.hand)
document.getElementById("hand").appendChild(ui.cards[c])