show long aircraft type in addition to type code

This commit is contained in:
Matthias Wirth
2020-08-12 17:08:42 +02:00
parent 5381893067
commit eea0cb6bc0
4 changed files with 26 additions and 6 deletions

View File

@@ -1799,6 +1799,11 @@ function refreshSelected() {
else
$('#selected_typedesc').text("n/a");
if (selected.typeLong)
$('#selected_typelong').text(selected.typeLong);
else
$('#selected_typelong').text("n/a");
if (showPictures && selected.icaoType){
let new_html = "<img width='150px' src='aircraft_sil/" + selected.icaoType + ".png' />";
if (new_html != selectedPhotoCache) {