index : btroops | |
Virtual board game-aid for BattleTroops, an infantry combat simulator wargame published by FASA in 1989. |
aboutsummaryrefslogtreecommitdiff |
diff options
-rw-r--r-- | public/assets/css/style.css | 1 | ||||
-rw-r--r-- | src/modules/record_sheet.js | 4 |
2 files changed, 3 insertions, 2 deletions
diff --git a/public/assets/css/style.css b/public/assets/css/style.css index 1c64766..e1257a4 100644 --- a/public/assets/css/style.css +++ b/public/assets/css/style.css @@ -295,6 +295,7 @@ div#content { #record-sheet .name { text-transform: capitalize; + font-size: smaller; } #record-sheet > div { diff --git a/src/modules/record_sheet.js b/src/modules/record_sheet.js index 0e26155..584bcf7 100644 --- a/src/modules/record_sheet.js +++ b/src/modules/record_sheet.js @@ -131,8 +131,8 @@ function deselect() { function clear() { document.querySelectorAll('#record-sheet .soldier-record').forEach(el => el.remove()); - document.querySelector('#attacker-record .name').textContent = 'attacker'; - document.querySelector('#defender-record .name').textContent = 'defender'; + //document.querySelector('#attacker-record .name').textContent = 'attacker'; + //document.querySelector('#defender-record .name').textContent = 'defender'; } function select(data) { |