Web Dev Solutions

Catalin Mititiuc

aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCatalin Mititiuc <webdevcat@proton.me>2024-06-04 15:55:37 -0700
committerCatalin Mititiuc <webdevcat@proton.me>2024-06-04 16:19:58 -0700
commit71f972142b37e4bbe6062ae84272ba1790b415ad (patch)
treeeb27649cb1663d5bb1674028fa984149e338b28f /src/index.js
parent71f34e930c5164e921e9faa7ef3ab4eda49dcd35 (diff)
Don't use custom built-in elements because they are not supported in webkit
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 7f914d4..87c9bfb 100644
--- a/src/index.js
+++ b/src/index.js
@@ -11,7 +11,6 @@ const mapPlaceholder = document.querySelector('.map-placeholder'),
distanceOutput = document.getElementById('status'),
proneToggle = document.getElementById('toggle-prone-counter'),
contentVisToggleEl = document.querySelector('#content input[type="checkbox"].visible'),
- // fileName = localStorage.getItem('map') || (env === 'test' ? 'test_map' : 'map1'),
fileName = localStorage.getItem('map') || 'scenario-side_show',
map = scenarios[fileName]?.hashed || `assets/images/${fileName}.svg`,
fileInputEl = document.querySelector('input[type="file"]'),