index : btroops | |
Virtual board game-aid for BattleTroops, an infantry combat simulator wargame published by FASA in 1989. |
aboutsummaryrefslogtreecommitdiff |
diff options
Diffstat (limited to 'src/modules/record_sheet.js')
-rw-r--r-- | src/modules/record_sheet.js | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/modules/record_sheet.js b/src/modules/record_sheet.js index 7b0a80f..b180a8e 100644 --- a/src/modules/record_sheet.js +++ b/src/modules/record_sheet.js @@ -118,8 +118,6 @@ function deselect() { if (selected) { selected.classList.remove('selected'); } - - document.getElementById('toggle-prone-counter').checked = false; } function clear() { @@ -137,7 +135,6 @@ function select(data) { if (isSelected || !data) return; record.classList.add('selected'); - document.querySelector('#toggle-prone-counter').checked = data.prone; } export function getSelected() { @@ -170,5 +167,6 @@ export function start(startLoc, units) { } Observable.subscribe('select', select); + Observable.subscribe('endmove', endMove); addEventListeners(); } |