diff --git a/templates/web/base/common_scripts.html b/templates/web/base/common_scripts.html index 3d923f33f18..d28cd121d35 100644 --- a/templates/web/base/common_scripts.html +++ b/templates/web/base/common_scripts.html @@ -1,3 +1,4 @@ +[% RETURN IF c.res.status == 404 OR appcache # No JS needed on 404/appcache page %] [% USE date; diff --git a/templates/web/base/offline/appcache.html b/templates/web/base/offline/appcache.html index ba54b229a81..955b57969d6 100644 --- a/templates/web/base/offline/appcache.html +++ b/templates/web/base/offline/appcache.html @@ -10,4 +10,4 @@

[% loc('Internet glitch') %]

-[% INCLUDE 'footer.html' %] +[% INCLUDE 'footer.html' appcache = 1 %]