1
0
Fork 0

Fixed bug with normalized callsigns

This commit is contained in:
Kim Huebel 2021-04-25 18:56:19 +01:00
parent b3981aac22
commit 82d07b4b52
2 changed files with 3 additions and 1 deletions

View file

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

View file

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