Web Dev Solutions

Catalin Mititiuc

From 71f972142b37e4bbe6062ae84272ba1790b415ad Mon Sep 17 00:00:00 2001 From: Catalin Mititiuc Date: Tue, 4 Jun 2024 15:55:37 -0700 Subject: Don't use custom built-in elements because they are not supported in webkit --- src/index.js | 1 - 1 file changed, 1 deletion(-) (limited to 'src/index.js') 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"]'), -- cgit v1.2.3