Fixed bug with normalized callsigns
This commit is contained in:
parent
b3981aac22
commit
82d07b4b52
2 changed files with 3 additions and 1 deletions
|
@ -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…
Reference in a new issue