1
0
Fork 0

Changed METAR decoding to Tooltip-display

This commit is contained in:
Kim - DG9VH 2020-11-09 23:27:33 +01:00
parent 596a31b866
commit 9a3e31b3fb

View file

@ -114,7 +114,7 @@ function getMessage(logline) {
message = decodeSkyperRubric(message);
}
if (1062 == parseInt(getRIC(logline)) || 1063 == parseInt(getRIC(logline))) {
message = message + "<br> Decoded: " + JSON.stringify(parseMETAR(message));
message = '<a href="#" class="tooltip-test" title="' + JSON.stringify(parseMETAR(message)).replace(/\"/g, '').replace(/,/g, ',\n') + '">' + message + '</a>';
}
return message;
}