1
0
Fork 0

Fixed bug with normalized callsigns

main
Kim Huebel 4 years ago
parent b3981aac22
commit 82d07b4b52

@ -459,6 +459,7 @@ function copyToQSO(callsign) {
} }
function getNormalizedCallsign(callsign) { function getNormalizedCallsign(callsign) {
callsign = callsign.trim();
retval = ""; retval = "";
for (i = 0; i < callsign.length; ++i) { for (i = 0; i < callsign.length; ++i) {
if (! /^[a-zA-Z0-9]+$/.test(callsign[i])) { if (! /^[a-zA-Z0-9]+$/.test(callsign[i])) {
@ -467,6 +468,7 @@ function getNormalizedCallsign(callsign) {
retval += callsign[i]; retval += callsign[i];
} }
} }
return retval;
} }
function getCallsign(logline) { function getCallsign(logline) {

@ -1 +1 @@
var dashboard_version = "2021-04-25 18:46:55"; var dashboard_version = "2021-04-25 18:56:19";

Loading…
Cancel
Save