summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax Bringemo <maxbr167@student.liu.se>2020-12-04 10:59:54 +0100
committerMax Bringemo <maxbr167@student.liu.se>2020-12-04 10:59:54 +0100
commit1b137d9e8dfeb23769dcd63b1134c0c44f3373f1 (patch)
treef0b68af5e325437b9ed390d9d2135998429795f3
parentf36259882415ca5f58bd91a5b4bbc0ccef9bf7fc (diff)
downloadtdde25-1b137d9e8dfeb23769dcd63b1134c0c44f3373f1.tar.gz
removed unneccessary variables
-rw-r--r--templates/index.js4
1 files 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()