This commit is contained in:
parent
0e31eb3cb0
commit
cb4dcc113f
@ -323,20 +323,20 @@ document.querySelectorAll(".nav-icon").forEach((icon) => {
|
|||||||
// sets everything up when page loads
|
// sets everything up when page loads
|
||||||
// starts all the intervals and stuff
|
// starts all the intervals and stuff
|
||||||
document.addEventListener("DOMContentLoaded", () => {
|
document.addEventListener("DOMContentLoaded", () => {
|
||||||
|
updateClientInfo();
|
||||||
|
|
||||||
updateTime();
|
updateTime();
|
||||||
setInterval(updateTime, TIME_UPDATE_INTERVAL);
|
setInterval(updateTime, TIME_UPDATE_INTERVAL);
|
||||||
|
|
||||||
updateStatus();
|
updateStatus();
|
||||||
setInterval(updateStatus, STATUS_UPDATE_INTERVAL);
|
setInterval(updateStatus, STATUS_UPDATE_INTERVAL);
|
||||||
|
|
||||||
updateClientInfo();
|
|
||||||
|
|
||||||
const activeNavIcon = document.querySelector(".nav-icon.active");
|
const activeNavIcon = document.querySelector(".nav-icon.active");
|
||||||
if (activeNavIcon) {
|
if (activeNavIcon) {
|
||||||
const label = activeNavIcon.querySelector(".nav-label");
|
const label = activeNavIcon.querySelector(".nav-label");
|
||||||
if (label) writeoutnavlabel(label);
|
if (label) writeoutnavlabel(label);
|
||||||
}
|
}
|
||||||
|
console.log("Finished init");
|
||||||
// fancy console log for style points
|
// fancy console log for style points
|
||||||
console.log(
|
console.log(
|
||||||
"%cELIA.NETWORK",
|
"%cELIA.NETWORK",
|
||||||
|
Loading…
Reference in New Issue
Block a user