From 1b3c32195d2741ac44aa35271b399c3fa2e6f2c2 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Thu, 14 Dec 2023 15:12:03 +0100 Subject: Squeeze layout. --- play.js | 3 +++ 1 file changed, 3 insertions(+) (limited to 'play.js') diff --git a/play.js b/play.js index 7deb683..6f7447d 100644 --- a/play.js +++ b/play.js @@ -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) -- cgit v1.2.3