index : btroops | |
Virtual board game-aid for BattleTroops, an infantry combat simulator wargame published by FASA in 1989. |
aboutsummaryrefslogtreecommitdiff |
diff options
author | Catalin Mititiuc <webdevcat@proton.me> | 2024-07-28 12:55:11 -0700 |
---|---|---|
committer | Catalin Mititiuc <webdevcat@proton.me> | 2024-07-28 12:55:11 -0700 |
commit | d75fb0b37c7dbfb58b14f563b1dc3fb2a73305b7 (patch) | |
tree | 7d8ec3cec949465d9b3a5b7f11a0cd0e15613ff4 /src/index.js | |
parent | 7183511dbf4062535e676bd923856b213d565a52 (diff) |
Add some team color counters
Diffstat (limited to 'src/index.js')
-rw-r--r-- | src/index.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/index.js b/src/index.js index fa90d13..8f853bd 100644 --- a/src/index.js +++ b/src/index.js @@ -162,7 +162,7 @@ document.querySelectorAll('.set-firing-arc').forEach(el => el.addEventListener('click', gameboard.setFiringArc) ); -document.querySelectorAll('.counters-list button').forEach(el => { +document.querySelectorAll('.counters-list button, button.attacker, button.defender').forEach(el => { el.addEventListener('click', e => gameboard.setCounter(el.className)); }); |