diff --git a/departures/flightdata.js b/departures/flightdata.js index 4484d0e..f71e5d2 100644 --- a/departures/flightdata.js +++ b/departures/flightdata.js @@ -24,6 +24,7 @@ window.onload = function() { document.getElementById(`flight${i + 1}data2`).textContent = dataLines[flightIndex + 2]; document.getElementById(`flight${i + 1}data3`).textContent = dataLines[flightIndex + 3]; document.getElementById(`flight${i + 1}data4`).textContent = dataLines[flightIndex + 4]; + document.getElementById(`flight${i + 1}data4`).textContent = dataLines[flightIndex + 5]; // Update image source for each flight document.getElementById(`flight${i + 1}airline`).src = dataLines[flightIndex + 1]; diff --git a/departures/flights.txt b/departures/flights.txt index c43f91b..e496113 100644 --- a/departures/flights.txt +++ b/departures/flights.txt @@ -2,4 +2,5 @@ ryanair.png FR 7266 BOLOGNA -VICHI MANUEL ON BOARD \ No newline at end of file +1 +ON-TIME \ No newline at end of file diff --git a/departures/index.html b/departures/index.html index 6f45cea..88fc594 100644 --- a/departures/index.html +++ b/departures/index.html @@ -26,6 +26,7 @@