diff --git a/html/index.html b/html/index.html index b3ae3eb..8bc6885 100755 --- a/html/index.html +++ b/html/index.html @@ -67,9 +67,7 @@
- +
@@ -121,9 +119,6 @@ -
@@ -147,11 +142,11 @@ $(document).ready(function(){ $("#search").click(function(){ const searchTerm = $("#myInput").val().trim(); - const onlyOpened = $("#filetCBox").val(); + $.getJSON( "https://hack.do.oliverwisler.ch/backend/calculations", - {location:searchTerm,filter:onlyOpened}, + {location:searchTerm}, function(data){ console.log(data); markerLayer.clearLayers(); @@ -183,8 +178,7 @@