From 3d1cd02f27518f1a04374c7c8320cd5d82ede6e9 Mon Sep 17 00:00:00 2001 From: Minteck Date: Thu, 23 Feb 2023 19:34:56 +0100 Subject: Updated 40 files, added 37 files, deleted 1103 files and renamed 3905 files (automated) --- app/bits/static/error.js | 9 --------- 1 file changed, 9 deletions(-) delete mode 100755 app/bits/static/error.js (limited to 'app/bits/static/error.js') diff --git a/app/bits/static/error.js b/app/bits/static/error.js deleted file mode 100755 index d16ae0b..0000000 --- a/app/bits/static/error.js +++ /dev/null @@ -1,9 +0,0 @@ -window.onerror = (event, source, lineno, colno, error) => { - if (error.message === "FocusTrap: Element must have at least one focusable child.") return; - if (appLoading) { - document.getElementById("loadfailure").style.display = ""; - } else { - document.getElementById("error").style.display = "block"; - document.getElementById("error").innerText = error.stack; - } -} \ No newline at end of file -- cgit