Trying without error-catcher

This commit is contained in:
Kasper Rynning-Tønnesen
2018-04-25 23:37:07 +02:00
parent e4bafbc0e5
commit a157daf7ec

View File

@@ -146,7 +146,7 @@ window.zoff = {
enable_debug: enable_debug,
disable_debug: disable_debug
}
/*
if(!Helper.mobilecheck() && (window.location.host != "localhost" && window.location.host != "client.localhost")) {
window.onerror = function(e, source, lineno, colno, error) {
if(e == "Script error.") return true;
@@ -170,6 +170,7 @@ if(!Helper.mobilecheck() && (window.location.host != "localhost" && window.locat
return true;
};
}
*/
window.addEventListener("DOMContentLoaded", function() {
if(!localStorage.getItem("VERSION") || parseInt(localStorage.getItem("VERSION")) != VERSION) {