diff options
| author | Max Bringemo <maxbr167@student.liu.se> | 2020-12-04 10:59:54 +0100 |
|---|---|---|
| committer | Max Bringemo <maxbr167@student.liu.se> | 2020-12-04 10:59:54 +0100 |
| commit | 1b137d9e8dfeb23769dcd63b1134c0c44f3373f1 (patch) | |
| tree | f0b68af5e325437b9ed390d9d2135998429795f3 | |
| parent | f36259882415ca5f58bd91a5b4bbc0ccef9bf7fc (diff) | |
| download | tdde25-1b137d9e8dfeb23769dcd63b1134c0c44f3373f1.tar.gz | |
removed unneccessary variables
| -rw-r--r-- | templates/index.js | 4 |
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() |
