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-04-27 18:28:59 -0700 |
---|---|---|
committer | Catalin Mititiuc <webdevcat@proton.me> | 2024-04-27 18:30:03 -0700 |
commit | 0c1f7e2fde7ed6e05271c8aeb8d4babbf4f2188d (patch) | |
tree | b15c46880f7aa4e252df7928dbc5a2a2f5eef366 /src/modules/record_sheet.js | |
parent | ce98e325656b8419b80d8c248e0469f3a9708322 (diff) |
Add ability to change maps
Diffstat (limited to 'src/modules/record_sheet.js')
-rw-r--r-- | src/modules/record_sheet.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/record_sheet.js b/src/modules/record_sheet.js index 99af18f..e5e8de6 100644 --- a/src/modules/record_sheet.js +++ b/src/modules/record_sheet.js @@ -14,9 +14,9 @@ export function getSelected() { export function select(data) { const selector = - `#record-sheet .soldier-record[data-number="${data.number}"][data-allegiance="${data.allegiance}"]` + `#record-sheet .soldier-record[data-number="${data.number}"][data-allegiance="${data.allegiance}"]` - unSelect(); + unSelect(); document.querySelector(selector).classList.add('selected'); document.getElementById('toggle-prone-counter').checked = data.prone; } |