diff options
author | Tor Andersson <tor@ccxvii.net> | 2025-04-01 20:07:17 +0200 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2025-04-01 20:07:17 +0200 |
commit | 0bbe63ec7088262922d04d79678029fcd33bce0c (patch) | |
tree | 7ddbb45de40aed18f4c6b7ab57edf6fc174a5118 /play.js | |
parent | 63186592400af0a10ca9b77f63f24b17a183d69b (diff) | |
download | land-and-freedom-0bbe63ec7088262922d04d79678029fcd33bce0c.tar.gz |
Fix logic to show trash panel when returning a card.
Diffstat (limited to 'play.js')
-rw-r--r-- | play.js | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) |