From fbe5a99dd1cc8194662ab50d88651f3cd6b9e96b Mon Sep 17 00:00:00 2001 From: Maximilian Giller Date: Sat, 24 Feb 2024 01:16:50 +0100 Subject: [PATCH] Refactored structur and fixed initia loading --- g/{names.html => names/index.html} | 3 +++ 1 file changed, 3 insertions(+) rename g/{names.html => names/index.html} (96%) diff --git a/g/names.html b/g/names/index.html similarity index 96% rename from g/names.html rename to g/names/index.html index 4f1338b..1988780 100644 --- a/g/names.html +++ b/g/names/index.html @@ -128,6 +128,9 @@ function addTimeSlotRow(time) { const namesForTime = getNamesForTimeSlot(time); document.getElementById("names").innerHTML += "" + namesForTime[0] + "" + namesForTime[1] + "" + namesForTime[2] + "" + namesForTime[3] + ""; + if (time == latestUpdateTimeSlot) { + document.getElementById(latestUpdateTimeSlot).classList += "current"; + } } function removeTimeSlotRow(time) {