diff options
author | Tor Andersson <tor@ccxvii.net> | 2023-10-21 00:45:23 +0200 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2023-10-21 00:45:23 +0200 |
commit | df8770384ecea4f2cd170ad799f150f85823a709 (patch) | |
tree | ed64c240cd759cc2c921cc06727d708ce6a0bc1a | |
parent | 0c75bd8a604cf5e6913c35e5be752d9103ee93bb (diff) | |
download | shores-of-tripoli-df8770384ecea4f2cd170ad799f150f85823a709.tar.gz |
Add some room to the floor. Don't show menu if action is unavailable.
-rw-r--r-- | play.html | 3 | ||||
-rw-r--r-- | play.js | 2 |
2 files changed, 4 insertions, 1 deletions
@@ -242,6 +242,9 @@ <div id="us_card_3" class="show card us_card_3 us_core"></div> </div> +<br><br><br> +<br><br><br> + </main> <footer id="status"></footer> @@ -501,7 +501,7 @@ function is_action(action, card) { function show_popup_menu(evt, menu_id, target_id, title) { let menu = document.getElementById(menu_id) - let show = true + let show = false for (let item of menu.querySelectorAll("li")) { let action = item.dataset.action if (action) { |