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 a7d8ce7..751170a 100644
--- a/play.js
+++ b/play.js
@@ -496,7 +496,7 @@ function on_update() { // eslint-disable-line no-unused-vars
ui.trash.replaceChildren()
place_cards(ui.trash, view.trash)
- if (view.actions && view.actions.trash)
+ if (view.show_trash)
ui.trash_panel.classList.remove("hide")
else
ui.trash_panel.classList.toggle("hide", trash_toggle)