From 8be3c44ca62c77a90b73d451124d33a3ac330cf1 Mon Sep 17 00:00:00 2001 From: Birte Kristina Friesel Date: Mon, 24 Jun 2024 17:16:29 +0200 Subject: geolocation: correctly reference hafas variable (copy-paste error) Closes #146 --- public/static/js/geolocation.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'public/static/js') diff --git a/public/static/js/geolocation.js b/public/static/js/geolocation.js index 1c30145..26ca349 100644 --- a/public/static/js/geolocation.js +++ b/public/static/js/geolocation.js @@ -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