Skip to content

Commit

Permalink
fixing bug in production
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonathan Gärtner committed Mar 12, 2024
1 parent 714ea21 commit 5751224
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
9 changes: 4 additions & 5 deletions app.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,7 @@ if (urlParams.has('camp')){
break;
default:
alert("unkown camp");
return;
}

if (urlParams.has('start')){ //only makes sense if a camp is selected
searchLocation(urlParams.get('start'));
break;
}

}
Expand Down Expand Up @@ -52,6 +48,9 @@ function setup_schnitzeljagd(){
hide_start_screen();
map.setView(data.position, 15);
map.invalidateSize();
if (urlParams.has('start')){ //only makes sense if a camp is selected
searchLocation(urlParams.get('start'));
}
}

function pfalz(){
Expand Down
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<div class="start-container" id="start-container">
<div class="buttons">
<a onclick="pfalz()" class="button">BWINF Wintercamp Pfalz</a>
<a onclick="stingbert()" class="button">Jugendwettbewerb Camp</a>
<a onclick="stingbert()" class="button">Junior Camp</a>
<!--<a onclick="test()" class="button">Potenziell andere?</a>-->
</div>
</div>
Expand Down

0 comments on commit 5751224

Please sign in to comment.