From 065604811827818e547082cf075d4e9432f4f99a Mon Sep 17 00:00:00 2001 From: Birte Kristina Friesel Date: Sun, 23 Mar 2025 18:29:37 +0100 Subject: landingpage / geolocation fallback: support dbris --- public/static/js/geolocation.js | 2 +- templates/landingpage.html.ep | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/public/static/js/geolocation.js b/public/static/js/geolocation.js index a496900..c428acd 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'); }); diff --git a/templates/landingpage.html.ep b/templates/landingpage.html.ep index 856fdef..0ccb1ad 100644 --- a/templates/landingpage.html.ep +++ b/templates/landingpage.html.ep @@ -57,7 +57,7 @@
Hallo, <%= $user->{name} %>!

Du bist gerade nicht eingecheckt.

-
+ %= hidden_field backend_dbris => $user->{backend_dbris} -- cgit v1.2.3