1
0
Fork 0

Changed METAR decoding to Tooltip-display

main
Kim - DG9VH 4 years ago
parent 596a31b866
commit 9a3e31b3fb

@ -114,7 +114,7 @@ function getMessage(logline) {
message = decodeSkyperRubric(message); message = decodeSkyperRubric(message);
} }
if (1062 == parseInt(getRIC(logline)) || 1063 == parseInt(getRIC(logline))) { 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; return message;
} }

Loading…
Cancel
Save