mirror of
https://github.com/jketterl/openwebrx.git
synced 2026-01-08 17:50:11 +01:00
remove leading periods from the registration
This commit is contained in:
parent
6979630653
commit
198f3ff078
|
|
@ -536,7 +536,7 @@ HfdlMessagePanel.prototype.pushMessage = function(message) {
|
|||
var acars = hfnpdu['acars'];
|
||||
details = '<h4>ACARS message</h4>';
|
||||
details += '<div>Flight: ' + acars['flight'] + '</div>';
|
||||
details += '<div>Registration: ' + acars['reg'] + '</div>';
|
||||
details += '<div>Registration: ' + acars['reg'].replace(/^\.+/g, '') + '</div>';
|
||||
details += '<div class="acars-message">' + acars['msg_text'] + '</div>';
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue