mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-12-08 20:48:48 +00:00
Trying without error-catcher
This commit is contained in:
@@ -146,7 +146,7 @@ window.zoff = {
|
|||||||
enable_debug: enable_debug,
|
enable_debug: enable_debug,
|
||||||
disable_debug: disable_debug
|
disable_debug: disable_debug
|
||||||
}
|
}
|
||||||
|
/*
|
||||||
if(!Helper.mobilecheck() && (window.location.host != "localhost" && window.location.host != "client.localhost")) {
|
if(!Helper.mobilecheck() && (window.location.host != "localhost" && window.location.host != "client.localhost")) {
|
||||||
window.onerror = function(e, source, lineno, colno, error) {
|
window.onerror = function(e, source, lineno, colno, error) {
|
||||||
if(e == "Script error.") return true;
|
if(e == "Script error.") return true;
|
||||||
@@ -170,6 +170,7 @@ if(!Helper.mobilecheck() && (window.location.host != "localhost" && window.locat
|
|||||||
return true;
|
return true;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
|
|
||||||
window.addEventListener("DOMContentLoaded", function() {
|
window.addEventListener("DOMContentLoaded", function() {
|
||||||
if(!localStorage.getItem("VERSION") || parseInt(localStorage.getItem("VERSION")) != VERSION) {
|
if(!localStorage.getItem("VERSION") || parseInt(localStorage.getItem("VERSION")) != VERSION) {
|
||||||
|
|||||||
Reference in New Issue
Block a user