Skip to content
This repository has been archived by the owner on Dec 7, 2023. It is now read-only.

Commit

Permalink
bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
PID012 committed Oct 29, 2023
1 parent 0130cba commit 438c3d0
Showing 1 changed file with 4 additions and 10 deletions.
14 changes: 4 additions & 10 deletions html/index.html
Expand Up @@ -67,9 +67,7 @@
<body>
<main>

<script type="application/javascript">

</script>



<header>
Expand Down Expand Up @@ -121,9 +119,6 @@
</svg>
</button>

<label>
<input type="checkbox" id="filterCBox" style = "position:relative; left:20px;">
</label>

</header>

Expand All @@ -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();
Expand Down Expand Up @@ -183,8 +178,7 @@
</section>

<aside>
<div id="coopList"></div>



</aside>

Expand Down

0 comments on commit 438c3d0

Please sign in to comment.