From a5427163ced9f99044813058ddf62548debc673c Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Tue, 7 May 2019 17:32:02 +0200 Subject: app: Use AJAX, not HTTP Refresh for auto-reload --- templates/app.html.ep | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'templates/app.html.ep') diff --git a/templates/app.html.ep b/templates/app.html.ep index 462f27e..79a462a 100644 --- a/templates/app.html.ep +++ b/templates/app.html.ep @@ -1,5 +1,6 @@ % if (@{$departures}) { +% if (not param('ajax')) { % if (param('dark')) {
% } @@ -21,6 +22,7 @@
+% } % } -% else { +% elsif (not param('ajax')) {
Keine Abfahrten gefunden. -- cgit v1.2.3