Web Dev Solutions

Catalin Mititiuc

aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCatalin Mititiuc <webdevcat@proton.me>2024-07-10 22:41:28 -0700
committerCatalin Mititiuc <webdevcat@proton.me>2024-07-10 22:41:28 -0700
commitccb1cb2c7573364732a277f0c7c770de611aeca3 (patch)
treeebbb28f5902a71bbd3028a259ce002988d3b579c /src/index.js
parent9c200873d6f013fa1e8eb9f00441404cca9acc1a (diff)
Allow generic maps to be still generated
Diffstat (limited to 'src/index.js')
-rw-r--r--src/index.js1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/index.js b/src/index.js
index 84f8dd4..2da4f2f 100644
--- a/src/index.js
+++ b/src/index.js
@@ -18,7 +18,6 @@ const mapPlaceholder = document.querySelector('.map-placeholder'),
distanceOutput = document.getElementById('status'),
proneToggle = document.getElementById('toggle-prone-counter'),
contentVisToggleEl = document.querySelector('#edge-inputs input[type="checkbox"].visible'),
- // fileName = localStorage.getItem('map') || 'scenario-side_show',
fileName = localStorage.getItem('map') || 'scenario-side_show',
map = scenarios[fileName]?.hashed || `assets/images/${fileName}.svg`,
scenarioRequest = requestResource(map),