Web Dev Solutions

Catalin Mititiuc

From ccb1cb2c7573364732a277f0c7c770de611aeca3 Mon Sep 17 00:00:00 2001 From: Catalin Mititiuc Date: Wed, 10 Jul 2024 22:41:28 -0700 Subject: Allow generic maps to be still generated --- 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 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), -- cgit v1.2.3