From b4a9ae3ccdf85692a636dc30e6d0f95bea07bbee Mon Sep 17 00:00:00 2001 From: Sam Reed Date: Sat, 18 Nov 2023 14:24:37 +0000 Subject: [PATCH] openflights.js: Unconditionally set notes field Caused by 20743995a4881747973fd6a097e5b79bbc769d21 Fixes https://github.com/jpatokal/openflights/issues/1452 --- openflights.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/openflights.js b/openflights.js index ef8a79a1..1fd258d6 100644 --- a/openflights.js +++ b/openflights.js @@ -2925,9 +2925,7 @@ function editFlight(str, param) { form.registration.value = col[14]; alid = col[15]; - if (col[16] != "") { - form.note.value = col[16]; - } + form.note.value = col[16]; form.seat.value = col[8]; $("src_ap").style.color = "#000000";