From 6086d35e2369ee8fe30bd1b081d85c8b9a39f2ad Mon Sep 17 00:00:00 2001 From: Tag Date: Sat, 28 Jan 2023 19:25:58 -0800 Subject: [PATCH] Bug fix --- package.nw/lib/gt.js | 2 +- package.nw/lib/roster/prepareRosterSettings.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package.nw/lib/gt.js b/package.nw/lib/gt.js index 2963885..bab9028 100644 --- a/package.nw/lib/gt.js +++ b/package.nw/lib/gt.js @@ -10716,7 +10716,7 @@ function renderBandActivity() if (place.oamsRx > 0) { - place.oamsScore = parseInt((place.oamsDecodes > place.oamsRxSpots) ? ((place.oamsDecodes - place.oamsRxSpots) / place.oamsRx) + (place.oamsTxSpots * place.oamsTx) : (place.oamsRxSpots / place.oamsRx) + (place.oamsTxSpots * place.oamsTx)); + place.oamsScore = parseInt((place.oamsDecodes > place.oamsRxSpots) ? (place.oamsDecodes / place.oamsRx) + (place.oamsTxSpots * place.oamsTx) : (place.oamsRxSpots / place.oamsRx) + (place.oamsTxSpots * place.oamsTx)); } else { diff --git a/package.nw/lib/roster/prepareRosterSettings.js b/package.nw/lib/roster/prepareRosterSettings.js index 87da076..0b7b9ce 100644 --- a/package.nw/lib/roster/prepareRosterSettings.js +++ b/package.nw/lib/roster/prepareRosterSettings.js @@ -26,8 +26,8 @@ function prepareRosterSettings() // be it's own function maybe? rosterSettings.canMsg = window.opener.g_mapSettings.offlineMode == false && - window.opener.g_appSettings.gtShareEnable == "true" && - window.opener.g_appSettings.gtMsgEnable == "true"; + window.opener.g_appSettings.gtShareEnable == true && + window.opener.g_appSettings.gtMsgEnable == true; // The following 3 sections deal with QSLing, do we break them out // individually or lump them into a qslUser function that sets