diff options
author | Birte Kristina Friesel <derf@finalrewind.org> | 2024-08-07 14:53:38 +0200 |
---|---|---|
committer | Birte Kristina Friesel <derf@finalrewind.org> | 2024-08-07 14:53:38 +0200 |
commit | b49d042f9fa2b4340665f1353cd4f2df939131a5 (patch) | |
tree | 42b4d36f1c689d8c47f59301cac125b452c3b7b5 /public/static | |
parent | 7e9f6bdf90605d43f10bfe82a2611f9436546be7 (diff) |
landing page: request departures when pressing enter
Diffstat (limited to 'public/static')
-rw-r--r-- | public/static/js/geolocation.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/public/static/js/geolocation.js b/public/static/js/geolocation.js index 064e9f5..a496900 100644 --- a/public/static/js/geolocation.js +++ b/public/static/js/geolocation.js @@ -78,7 +78,7 @@ $(document).ready(function() { } }; - const geoLocationButton = $('div.geolocation > button'); + const geoLocationButton = $('div.geolocation > .request'); const recentStops = geoLocationButton.data('recent'); const getGeoLocation = function() { geoLocationButton.replaceWith($('<p class="geolocationhint">Stationen in der Umgebung:</p><div class="progress"><div class="indeterminate"></div></div>')); |