Skip to content

Commit

Permalink
No need for JavaScript on 404/appcache pages.
Browse files Browse the repository at this point in the history
  • Loading branch information
dracos committed Jan 28, 2019
1 parent 0a1236b commit 571cf4e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions templates/web/base/common_scripts.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
[% RETURN IF c.res.status == 404 OR appcache # No JS needed on 404/appcache page %]
[%

USE date;
Expand Down
2 changes: 1 addition & 1 deletion templates/web/base/offline/appcache.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ <h1>[% loc('Internet glitch') %]</h1>

<div id="offline_clear"></div>

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

0 comments on commit 571cf4e

Please sign in to comment.