mirror of
https://github.com/jketterl/openwebrx.git
synced 2025-12-06 07:12:09 +01:00
flight may be missing, it seems
This commit is contained in:
parent
d053255008
commit
b2ee85a928
|
|
@ -535,7 +535,9 @@ HfdlMessagePanel.prototype.pushMessage = function(message) {
|
|||
if ('acars' in hfnpdu) {
|
||||
var acars = hfnpdu['acars'];
|
||||
details = '<h4>ACARS message</h4>';
|
||||
details += '<div>Flight: ' + acars['flight'] + '</div>';
|
||||
if ('flight' in acars) {
|
||||
details += '<div>Flight: ' + acars['flight'] + '</div>';
|
||||
}
|
||||
details += '<div>Registration: ' + acars['reg'].replace(/^\.+/g, '') + '</div>';
|
||||
details += '<div class="acars-message">' + acars['msg_text'] + '</div>';
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue