From 187faec2dfb7959c536d6847a61be912cff9275e Mon Sep 17 00:00:00 2001
From: Catalin Mititiuc
Date: Wed, 29 May 2024 18:02:18 -0700
Subject: Try to simplify trooper counter
---
src/import_mapsheets.js | 8 --------
1 file changed, 8 deletions(-)
delete mode 100644 src/import_mapsheets.js
(limited to 'src/import_mapsheets.js')
diff --git a/src/import_mapsheets.js b/src/import_mapsheets.js
deleted file mode 100644
index 2e1b0fc..0000000
--- a/src/import_mapsheets.js
+++ /dev/null
@@ -1,8 +0,0 @@
-import mapsheets from './assets/images/mapsheets.svg';
-
-const useEls = document.querySelectorAll('svg use[data-href*="mapsheets.svg"');
-
-useEls.forEach(el => {
- const href = el.dataset.href.replace('mapsheets.svg', mapsheets.split('/').pop());
- el.setAttributeNS(null, 'href', href);
-});
--
cgit v1.2.3