fix: scaling, refresh

This commit is contained in:
Timo Henkensiefken 2024-12-10 17:41:32 +01:00
parent 9ea4ba3879
commit c51d4311d4
2 changed files with 3 additions and 2 deletions

View File

@ -61,6 +61,7 @@ function groupDepartures(data) {
// Rendert die Api Daten in den DOM // Rendert die Api Daten in den DOM
function renderDOMByRoute(data) { function renderDOMByRoute(data) {
while (document.body.firstChild) document.body.removeChild(document.body.firstChild);
document.body.appendChild(getHeaderBanner(data)); document.body.appendChild(getHeaderBanner(data));
const routes = groupDepartures(data); const routes = groupDepartures(data);
@ -140,4 +141,4 @@ function getRouteImage(route) {
// function setScaling // function setScaling
refreshData(); refreshData();
// setInterval(refreshData, 15000); setInterval(refreshData, 15000);

View File

@ -1,5 +1,5 @@
:root { :root {
font-size: 5px; font-size: 10px;
} }
* { * {