From a7144712ac7ac62dcd911266cf815b23cbc73361 Mon Sep 17 00:00:00 2001 From: Tag Loomis Date: Thu, 7 Dec 2023 08:23:04 -0800 Subject: [PATCH] Fix for Emoji --- package.nw/lib/gt.js | 30 +++++++++++++------------- package.nw/lib/roster/rosterColumns.js | 8 +++---- 2 files changed, 19 insertions(+), 19 deletions(-) diff --git a/package.nw/lib/gt.js b/package.nw/lib/gt.js index 86e75ae..8e799ec 100644 --- a/package.nw/lib/gt.js +++ b/package.nw/lib/gt.js @@ -2142,21 +2142,21 @@ function createTooltTipTable(toolElement) { worker += "" + - (callsign.DEcall in GT.lotwCallsigns ? "✋" : "") + + (callsign.DEcall in GT.lotwCallsigns ? "✔" : "") + ""; } if (GT.callsignLookups.eqslUseEnable == true) { worker += "" + - (callsign.DEcall in GT.eqslCallsigns ? "✋" : "") + + (callsign.DEcall in GT.eqslCallsigns ? "✔" : "") + ""; } if (GT.callsignLookups.oqrsUseEnable == true) { worker += "" + - (callsign.DEcall in GT.oqrsCallsigns ? "✋" : "") + + (callsign.DEcall in GT.oqrsCallsigns ? "✔" : "") + ""; } @@ -2271,14 +2271,14 @@ function createTooltTipTableLogbook(toolElement) { worker += "" + - (callsign.DEcall in GT.lotwCallsigns ? "✋" : "") + + (callsign.DEcall in GT.lotwCallsigns ? "✔" : "") + ""; } if (GT.callsignLookups.eqslUseEnable == true) { worker += "" + - (callsign.DEcall in GT.eqslCallsigns ? "✋" : "") + + (callsign.DEcall in GT.eqslCallsigns ? "✔" : "") + ""; } if (GT.callsignLookups.oqrsUseEnable == true) @@ -2289,7 +2289,7 @@ function createTooltTipTableLogbook(toolElement) "" + - "✋ 📬"; + "✔ 📬"; } else { @@ -7426,21 +7426,21 @@ function showCallsignBox(redraw) { worker += "" + - (thisCall in GT.lotwCallsigns ? "✋" : "") + + (thisCall in GT.lotwCallsigns ? "✔" : "") + ""; } if (GT.callsignLookups.eqslUseEnable == true) { worker += "" + - (thisCall in GT.eqslCallsigns ? "✋" : "") + + (thisCall in GT.eqslCallsigns ? "✔" : "") + ""; } if (GT.callsignLookups.oqrsUseEnable == true) { worker += "" + - (thisCall in GT.oqrsCallsigns ? "✋" : "") + + (thisCall in GT.oqrsCallsigns ? "✔" : "") + ""; } worker += ""; @@ -7985,15 +7985,15 @@ function showWorkedBox(sortIndex, nextPage, redraw) worker += "" + userTimeString(key.time * 1000) + ""; if (GT.callsignLookups.lotwUseEnable == true) { - worker += "" + (key.DEcall in GT.lotwCallsigns ? "✋" : "") + ""; + worker += "" + (key.DEcall in GT.lotwCallsigns ? "✔" : "") + ""; } if (GT.callsignLookups.eqslUseEnable == true) { - worker += "" + (key.DEcall in GT.eqslCallsigns ? "✋" : "") + ""; + worker += "" + (key.DEcall in GT.eqslCallsigns ? "✔" : "") + ""; } if (GT.callsignLookups.oqrsUseEnable == true) { - worker += "" + (key.DEcall in GT.oqrsCallsigns ? "✋" : "") + ""; + worker += "" + (key.DEcall in GT.oqrsCallsigns ? "✔" : "") + ""; } worker += ""; } @@ -14851,19 +14851,19 @@ function displayLookupObject(lookup, gridPass, fromCache = false) if (GT.callsignLookups.lotwUseEnable == true && thisCall in GT.lotwCallsigns) { lookup.ulotw = - "✋ (" + + "✔ (" + userDayString(GT.lotwCallsigns[thisCall] * 86400 * 1000) + ")"; worker += makeRow("LoTW Member", lookup, "ulotw"); } if (GT.callsignLookups.eqslUseEnable == true && thisCall in GT.eqslCallsigns) { - lookup.ueqsl = "✋"; + lookup.ueqsl = "✔"; worker += makeRow("eQSL Member", lookup, "ueqsl"); } if (GT.callsignLookups.oqrsUseEnable == true && thisCall in GT.oqrsCallsigns) { - lookup.uoqrs = "✋"; + lookup.uoqrs = "✔"; worker += makeRow("ClubLog OQRS", lookup, "uoqrs"); } diff --git a/package.nw/lib/roster/rosterColumns.js b/package.nw/lib/roster/rosterColumns.js index ce91f56..f84ed1e 100644 --- a/package.nw/lib/roster/rosterColumns.js +++ b/package.nw/lib/roster/rosterColumns.js @@ -275,7 +275,7 @@ const ROSTER_COLUMNS = { title: `${$.i18n("rosterColumns.LoTW.LastUpdate")}${ window.opener.userDayString(window.opener.GT.lotwCallsigns[callObj.DEcall] * 86400000) }`, - html: "✋" + html: "✔" } } } @@ -287,7 +287,7 @@ const ROSTER_COLUMNS = { title: `${$.i18n("rosterColumns.LoTW.LastUpdate")}${ window.opener.userDayString(window.opener.GT.lotwCallsigns[callObj.DEcall] * 86400000) }`, - html: "✋" + html: "✔" } } } @@ -305,7 +305,7 @@ const ROSTER_COLUMNS = { tableData: (callObj) => ({ style: "color: #0F0;", align: "center", - html: (callObj.DEcall in window.opener.GT.eqslCallsigns ? "✋" : " ") + html: (callObj.DEcall in window.opener.GT.eqslCallsigns ? "✔" : " ") }) }, @@ -314,7 +314,7 @@ const ROSTER_COLUMNS = { tableData: (callObj) => ({ style: "color: #0F0;", align: "center", - html: (callObj.DEcall in window.opener.GT.oqrsCallsigns ? "✋" : " ") + html: (callObj.DEcall in window.opener.GT.oqrsCallsigns ? "✔" : " ") }) },