link to english version

This commit is contained in:
Eduardo P de Sousa
2021-06-11 16:44:44 -03:00
committed by Matthias Wirth
parent 07a50df859
commit f6d25318ec

View File

@@ -2387,7 +2387,7 @@ function refreshSelected() {
if (flightawareLinks) {
jQuery('#selected_registration').html(getFlightAwareIdentLink(selected.registration, selected.registration));
} else if (selected.icaorange.country === 'Brazil') {
jQuery('#selected_registration').html(`<a target="_blank" href="https://sistemas.anac.gov.br/aeronaves/cons_rab_resposta.asp?textMarca=${selected.registration}">${selected.registration}</a>`);
jQuery('#selected_registration').html(`<a target="_blank" href="https://sistemas.anac.gov.br/aeronaves/cons_rab_resposta_en.asp?textMarca=${selected.registration}">${selected.registration}</a>`);
} else {
jQuery('#selected_registration').text(selected.registration);
}