From 11139fb5f5bbbc0e5dcfec985f9ef2671dacb693 Mon Sep 17 00:00:00 2001 From: Birte Kristina Friesel Date: Fri, 21 Jun 2024 21:12:35 +0200 Subject: geolocation: fix IRIS/HAFAS icons --- public/static/js/geolocation.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'public') diff --git a/public/static/js/geolocation.js b/public/static/js/geolocation.js index 03857a1..1c30145 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 = $('' + parts[1] + ''); + const node = $('' + parts[1] + ''); node.click(function() { $('nav .preloader-wrapper').addClass('active'); }); @@ -51,7 +51,7 @@ $(document).ready(function() { hafas = candidate.hafas, distance = candidate.distance.toFixed(1); - const node = $('' + name + ''); + const node = $('' + name + ''); node.click(function() { $('nav .preloader-wrapper').addClass('active'); }); -- cgit v1.2.3