Web Dev Solutions

Catalin Mititiuc

aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCatalin Mititiuc <webdevcat@proton.me>2024-05-23 12:06:01 -0700
committerCatalin Mititiuc <webdevcat@proton.me>2024-05-23 12:06:01 -0700
commitd729079cdf63a4382e3e3225295784124e0a4d5d (patch)
treed3ccd936e9e294a0492f7cb261d3266f133cc1d5 /src/modules/game
parentd06277bad51439595a02b449f50ce43645355d45 (diff)
WIP: intercept request in test
Diffstat (limited to 'src/modules/game')
-rw-r--r--src/modules/game/soldier.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/modules/game/soldier.js b/src/modules/game/soldier.js
index ae1d708..2a89426 100644
--- a/src/modules/game/soldier.js
+++ b/src/modules/game/soldier.js
@@ -67,6 +67,7 @@ export function createCounter(selected) {
const use = document.createElementNS(svgns, 'use');
const g = document.createElementNS(svgns, 'g');
use.setAttributeNS(null, 'href', `#t-${selected.dataset.number}`);
+ // use.setAttributeNS(null, 'href', `counters.svg#rifle`);
g.classList.add('counter');
g.dataset.allegiance = selected.dataset.allegiance;
g.dataset.number = selected.dataset.number;