debug code

This commit is contained in:
Azareal 2020-04-04 12:58:07 +10:00
parent 3114c5afdc
commit d2fc2e26ea
1 changed files with 6 additions and 0 deletions

View File

@ -370,9 +370,15 @@ function getExt(name) {
let sAlertMapping = localStorage.getItem("alertMapping");
let sAlertCount = localStorage.getItem("alertCount");
if(sAlertList!=""&&sAlertMapping!=""&&sAlertCount!="") {
console.log("sAlertList",sAlertList)
console.log("sAlertMapping",sAlertMapping)
console.log("sAlertCount",sAlertCount)
alertList = JSON.parse(sAlertList)
alertMapping = JSON.parse(sAlertMapping)
alertCount = parseInt(sAlertCount)
console.log("alertList",alertList)
console.log("alertMapping",alertMapping)
console.log("alertCount",alertCount)
for(var i=0; i<al.length; i++) loadAlerts(al[i],true);
} else for(var i=0; i<al.length; i++) loadAlerts(al[i]);
if(window["WebSocket"]) runWebSockets();