diff options
author | Tor Andersson <tor@ccxvii.net> | 2023-12-14 15:12:03 +0100 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2024-01-08 16:36:48 +0100 |
commit | 1b3c32195d2741ac44aa35271b399c3fa2e6f2c2 (patch) | |
tree | 97a1c6b24aa2cdae40b1a872ae689e3e7fe98153 /play.js | |
parent | 55eae227cb5eb04d03814137ebe6f6a13a93c92c (diff) | |
download | table-battles-1b3c32195d2741ac44aa35271b399c3fa2e6f2c2.tar.gz |
Squeeze layout.
Diffstat (limited to 'play.js')
-rw-r--r-- | play.js | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -145,6 +145,9 @@ function create_formation_card(id) { let card = data.cards[id] let e = create_div("card formation " + wing_name[card.wing]) + if (card.squeeze) + e.classList.add("squeeze" + card.squeeze) + register_action(e, "card", id) if (card.infantry || card.cavalry) |