diff --git a/public/global.js b/public/global.js index 32b73f61..9e6c6803 100644 --- a/public/global.js +++ b/public/global.js @@ -369,7 +369,9 @@ function getExt(name) { let sAlertList = localStorage.getItem("alertList"); let sAlertMapping = localStorage.getItem("alertMapping"); let sAlertCount = localStorage.getItem("alertCount"); - if(sAlertList!=""&&sAlertMapping!=""&&sAlertCount!="") { + if(sAlertList!=null && sAlertList!="" && + sAlertMapping!=null && sAlertMapping!="" &&sAlertCount!=null && sAlertCount!="" + ) { console.log("sAlertList",sAlertList) console.log("sAlertMapping",sAlertMapping) console.log("sAlertCount",sAlertCount)