WIP: select counter test

This commit is contained in:
2025-06-16 22:41:31 -07:00
parent 2ad700474c
commit 4a546ea443
5 changed files with 38 additions and 2063 deletions

View File

@@ -179,7 +179,7 @@ export function start(startLoc, units) {
for (const affiliation in forces) {
const container = document.querySelector(`#${affiliation}-record`);
const records = container.querySelector('.records');
const name = startLoc.dataset[`${affiliation}Name`];
const name = startLoc?.dataset[`${affiliation}Name`];
if (name) {
container.querySelector('.name').textContent = name;