Web Dev Solutions

Catalin Mititiuc

From d729079cdf63a4382e3e3225295784124e0a4d5d Mon Sep 17 00:00:00 2001 From: Catalin Mititiuc Date: Thu, 23 May 2024 12:06:01 -0700 Subject: WIP: intercept request in test --- src/modules/game/soldier.js | 1 + 1 file changed, 1 insertion(+) (limited to 'src/modules/game/soldier.js') 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; -- cgit v1.2.3