Web Dev Solutions

Catalin Mititiuc

From 9b85d20fecd513ccdb33af29cd0cb12f6e1d4595 Mon Sep 17 00:00:00 2001 From: Catalin Mititiuc Date: Mon, 15 Jul 2024 11:03:56 -0700 Subject: Make record sheet allegiance name text smaller to fit --- src/modules/record_sheet.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/modules') 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) { -- cgit v1.2.3