summaryrefslogtreecommitdiff
path: root/templates/layouts
diff options
context:
space:
mode:
authorBirte Kristina Friesel <derf@finalrewind.org>2024-07-24 20:50:12 +0200
committerBirte Kristina Friesel <derf@finalrewind.org>2024-07-24 20:50:12 +0200
commit2759d7258c37c7498905cfe19f6b4c4f6d16bd21 (patch)
treeed91dcab1818f66aefa664da0224d32bb61f7508 /templates/layouts
parent7811520a30657e2bc98873f296ae1f8fcff51dc0 (diff)
support non-DB HAFAS backends (WiP)
Diffstat (limited to 'templates/layouts')
-rw-r--r--templates/layouts/default.html.ep2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/layouts/default.html.ep b/templates/layouts/default.html.ep
index 01b8018..4edf805 100644
--- a/templates/layouts/default.html.ep
+++ b/templates/layouts/default.html.ep
@@ -62,7 +62,7 @@
%= javascript "/static/${av}/js/geolocation${min}.js"
% }
% if (stash('with_autocomplete')) {
- %= javascript "/dyn/${av}/autocomplete.js", defer => undef
+ %= javascript "/dyn/${av}/autocomplete.js?backend_id=" . (stash('backend_id') // 1), defer => undef
% }
% if (stash('with_map')) {
%= javascript "/static/${av}/leaflet/leaflet.js"