fix: scaling, refresh
This commit is contained in:
parent
9ea4ba3879
commit
c51d4311d4
|
@ -61,6 +61,7 @@ function groupDepartures(data) {
|
|||
|
||||
// Rendert die Api Daten in den DOM
|
||||
function renderDOMByRoute(data) {
|
||||
while (document.body.firstChild) document.body.removeChild(document.body.firstChild);
|
||||
document.body.appendChild(getHeaderBanner(data));
|
||||
|
||||
const routes = groupDepartures(data);
|
||||
|
@ -140,4 +141,4 @@ function getRouteImage(route) {
|
|||
// function setScaling
|
||||
|
||||
refreshData();
|
||||
// setInterval(refreshData, 15000);
|
||||
setInterval(refreshData, 15000);
|
||||
|
|
Loading…
Reference in New Issue