aboutsummaryrefslogtreecommitdiffstats
path: root/templates/errors
diff options
context:
space:
mode:
authorGravatar Gareth Coles <[email protected]>2018-06-13 16:43:42 +0100
committerGravatar Gareth Coles <[email protected]>2018-06-13 16:43:42 +0100
commitbe2bbe35cf49763ad0258c005f3cbdddd7a21d75 (patch)
tree962d5e52f4bb57c397c068ae6a11b57952cfc459 /templates/errors
parent[DB] Attempt reconnection if current connection was lost (diff)
Compile as much JS with Gulp as possible
This will concatenate ALL of our JS, and minify it - thus leaving us with a single file to be loaded. There's a few libraries we can't do this with, unfortunately - these are now added in fouc.js: * Ace Editor * Flatpickr * Font-Awesome
Diffstat (limited to 'templates/errors')
-rw-r--r--templates/errors/error.html4
1 files changed, 1 insertions, 3 deletions
diff --git a/templates/errors/error.html b/templates/errors/error.html
index 6132aea1..dbb7e3b4 100644
--- a/templates/errors/error.html
+++ b/templates/errors/error.html
@@ -9,10 +9,8 @@
window._Code = {{ code }};
window._ErrorMsg = "{{ error_message | safe }}";
window._Path = "{{ request.path }}";
+ window.onload = error_typewriter;
</script>
-
- <script src="{{ static_file('js/typewriter.js') }}" type="application/javascript"></script>
- <script src="{{ static_file('js/500.js') }}" type="application/javascript"></script>
{% endblock %}
{% block content %}