diff options
author | Minteck <contact@minteck.org> | 2022-11-11 23:47:49 +0100 |
---|---|---|
committer | Minteck <contact@minteck.org> | 2022-11-11 23:47:49 +0100 |
commit | 209356b8ade1920b50d1d3a1a5e121c6623d167b (patch) | |
tree | 5301396987d1510f715a0b1c24754873af19e1dc /app/bits/assets/error.js | |
parent | 2c4ae43e688a9873e86211ea0e7aeb9ba770dd77 (diff) | |
download | pluralconnect-209356b8ade1920b50d1d3a1a5e121c6623d167b.tar.gz pluralconnect-209356b8ade1920b50d1d3a1a5e121c6623d167b.tar.bz2 pluralconnect-209356b8ade1920b50d1d3a1a5e121c6623d167b.zip |
Update
Diffstat (limited to 'app/bits/assets/error.js')
-rwxr-xr-x | app/bits/assets/error.js | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/app/bits/assets/error.js b/app/bits/assets/error.js deleted file mode 100755 index d16ae0b..0000000 --- a/app/bits/assets/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 |