summaryrefslogtreecommitdiff
path: root/public/static/js/geolocation.js
diff options
context:
space:
mode:
authorBirte Kristina Friesel <derf@finalrewind.org>2023-08-16 09:31:01 +0200
committerBirte Kristina Friesel <derf@finalrewind.org>2023-08-16 09:31:01 +0200
commit5d330a773810f6801c94cd5469f5cec8adf5a420 (patch)
tree1608350d8149179c0a00dda787fb496692f1979e /public/static/js/geolocation.js
parent2ce2291e9414e30f3727cf3bac12e6fb8b33564d (diff)
recent targets: distinguish hafas/iris
Diffstat (limited to 'public/static/js/geolocation.js')
-rw-r--r--public/static/js/geolocation.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/public/static/js/geolocation.js b/public/static/js/geolocation.js
index d2fa18d..42c7f1e 100644
--- a/public/static/js/geolocation.js
+++ b/public/static/js/geolocation.js
@@ -24,7 +24,7 @@ $(document).ready(function() {
const res = $(document.createElement('p'));
$.each(stops, function(i, stop) {
const parts = stop.split(';');
- const node = $('<a class="tablerow" href="/s/' + parts[0] + '"><span>' + parts[1] + '</span></a>');
+ const node = $('<a class="tablerow" href="/s/' + parts[0] + '?hafas=' + parts[2] + '"><span>' + parts[1] + '</span></a>');
node.click(function() {
$('nav .preloader-wrapper').addClass('active');
});