diff options
Diffstat (limited to '')
-rw-r--r-- | js/src/errors.js (renamed from static/js/500.js) | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/static/js/500.js b/js/src/errors.js index 7effe502..492285d4 100644 --- a/static/js/500.js +++ b/js/src/errors.js @@ -1,6 +1,8 @@ "use strict"; -window.onload = function () { +/* exported error_typewriter */ + +function error_typewriter() { const app = document.getElementById("error"); const typewriter = new Typewriter(app, { @@ -44,4 +46,4 @@ window.onload = function () { .typeString("response.text\n") .appendText(`${ window._ErrorMsg }\n>>> `) .start(); -}; +} |