diff --git a/assets/index.js b/assets/index.js index 61edd0d..3770a1c 100644 --- a/assets/index.js +++ b/assets/index.js @@ -323,20 +323,20 @@ document.querySelectorAll(".nav-icon").forEach((icon) => { // sets everything up when page loads // starts all the intervals and stuff document.addEventListener("DOMContentLoaded", () => { + updateClientInfo(); + updateTime(); setInterval(updateTime, TIME_UPDATE_INTERVAL); updateStatus(); setInterval(updateStatus, STATUS_UPDATE_INTERVAL); - updateClientInfo(); - const activeNavIcon = document.querySelector(".nav-icon.active"); if (activeNavIcon) { const label = activeNavIcon.querySelector(".nav-label"); if (label) writeoutnavlabel(label); } - + console.log("Finished init"); // fancy console log for style points console.log( "%cELIA.NETWORK",