diff --git a/package.nw/lib/roster.js b/package.nw/lib/roster.js index a6dd732b..d740b75d 100644 --- a/package.nw/lib/roster.js +++ b/package.nw/lib/roster.js @@ -1334,7 +1334,7 @@ function viewRoster() else { callObj.hunting.cqz = "worked"; - cqzConf = `${unconf}${qrz}${inversionAlpha};`; + cqzConf = `${unconf}${cqz}${inversionAlpha};`; } } else @@ -2239,7 +2239,7 @@ function realtimeRoster() var timeCols = document.getElementsByClassName("timeCol"); for (var x in timeCols) { - if (typeof timeCols[x].id != "undefined") + if ((typeof timeCols[x].id != "undefined") && (typeof callRoster[timeCols[x].id.substr(2)] != "undefined")) { var when = now - callRoster[timeCols[x].id.substr(2)].callObj.age; timeCols[x].innerHTML = when.toDHMS(); @@ -2248,7 +2248,7 @@ function realtimeRoster() var lifeCols = document.getElementsByClassName("lifeCol"); for (var x in lifeCols) { - if (typeof lifeCols[x].id != "undefined") + if ((typeof lifeCols[x].id != "undefined") && (typeof callRoster[lifeCols[x].id.substr(2)] != "undefined")) { var when = now - callRoster[lifeCols[x].id.substr(2)].callObj.life; lifeCols[x].innerHTML = when.toDHMS(); @@ -2259,7 +2259,7 @@ function realtimeRoster() var spotCols = document.getElementsByClassName("spotCol"); for (var x in spotCols) { - if (typeof spotCols[x].id != "undefined") + if ((typeof spotCols[x].id != "undefined") && (typeof callRoster[spotCols[x].id.substr(2)] != "undefined")) { spotCols[x].innerHTML = getSpotString( callRoster[spotCols[x].id.substr(2)].callObj