diff options
author | Tor Andersson <tor@ccxvii.net> | 2025-04-12 15:43:34 +0200 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2025-04-12 15:43:34 +0200 |
commit | ddd0520b63316ed91fe70b6981402fda9aafb2eb (patch) | |
tree | 43a22121cb967dfbad72881269b35ae1017e77ad /play.js | |
parent | a98d92ca3cf044eda7b2314d5c464f95db6ec0ab (diff) | |
download | vijayanagara-ddd0520b63316ed91fe70b6981402fda9aafb2eb.tar.gz |
left-align card display on table so it doesn't jump around
update the discard view even when null
Diffstat (limited to 'play.js')
-rw-r--r-- | play.js | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -979,10 +979,13 @@ function update_discard() { ui.discard[i].className = "" } } + } else { + for (let i = 0; i < 4; ++i) + ui.discard[i].className = "" } } -window.addEventListener("resize", update_discard) +window.addEventListener("resize", update_discard) let once = true function on_update() { |