From 1b137d9e8dfeb23769dcd63b1134c0c44f3373f1 Mon Sep 17 00:00:00 2001 From: Max Bringemo Date: Fri, 4 Dec 2020 10:59:54 +0100 Subject: removed unneccessary variables --- templates/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/index.js b/templates/index.js index 3a1ef8f..7996f46 100644 --- a/templates/index.js +++ b/templates/index.js @@ -63,8 +63,8 @@ async function showMarkers() { showMarkers() async function showFavicon() { - res = await fetch('/favicon.ico'); - res = await res.json(); + await fetch('/favicon.ico'); + await res.json(); } showFavicon() -- cgit v1.2.1