Adjusted position of functions

This commit is contained in:
Fred Boniface 2023-03-13 20:28:07 +00:00
parent 49e979e151
commit 97f656f5b6

View File

@ -82,6 +82,7 @@ async function buildPage(data) {
setLoadingDesc('Loading\nBusses') setLoadingDesc('Loading\nBusses')
displayBus(await makeArray(data.GetStationBoardResult.busServices.service)) displayBus(await makeArray(data.GetStationBoardResult.busServices.service))
} }
hideLoading();
console.timeEnd("Time: Init to Complete") console.timeEnd("Time: Init to Complete")
} }
@ -94,8 +95,6 @@ async function displayTrains(data) {
displayService(svc); displayService(svc);
buildCallLists(svc); buildCallLists(svc);
} }
hideLoading();
document.getElementById("output").style = "display:block;"; document.getElementById("output").style = "display:block;";
log(`simple-board.displayTrains: Insertion complete`) log(`simple-board.displayTrains: Insertion complete`)
} }