diff options
-rw-r--r-- | play.js | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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]) |