summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGustav Sörnäs <gusso230@student.liu.se>2020-12-15 09:35:12 +0100
committerGustav Sörnäs <gusso230@student.liu.se>2020-12-15 09:35:12 +0100
commit21a531eac5b953aeab14e4e8ae887695e8a4c4aa (patch)
tree8da44c1819fff8785a66f0c017737c139505538c
parent28bf2e9d0df6e093c80d62d5fc9a27bff7d87104 (diff)
downloadtdde25-union-find.tar.gz
remove unused lineunion-find
-rw-r--r--templates/index.js1
1 files changed, 0 insertions, 1 deletions
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)