From 21a531eac5b953aeab14e4e8ae887695e8a4c4aa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gustav=20S=C3=B6rn=C3=A4s?= Date: Tue, 15 Dec 2020 09:35:12 +0100 Subject: remove unused line --- templates/index.js | 1 - 1 file changed, 1 deletion(-) diff --git a/templates/index.js b/templates/index.js index 0bbcdbe..01e3880 100644 --- a/templates/index.js +++ b/templates/index.js @@ -61,7 +61,6 @@ async function showMarkers() { showMarkers() async function showUnconnectedMarkers() { - res = await fetch('/show-unconnected-nodes'); const res = await fetch('/show-unconnected-nodes').then(res => res.json()); for (let key in res) { var marker = L.marker(res[key]).addTo(map) -- cgit v1.2.1