Adjusted position of functions
This commit is contained in:
parent
49e979e151
commit
97f656f5b6
@ -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`)
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user