Compare commits
No commits in common. "cb4dcc113f11a373cd9317a76938c85eee93ddd8" and "279ef6d807608aa835c2bda0107de397b1d20653" have entirely different histories.
cb4dcc113f
...
279ef6d807
@ -1,11 +1,11 @@
|
|||||||
// animation speeds cause why not
|
// animation speeds cause why not
|
||||||
const TYPING_SPEED = 50;
|
const TYPING_SPEED = 60;
|
||||||
const ERASE_SPEED = 70;
|
const ERASE_SPEED = 80;
|
||||||
const STATUS_UPDATE_INTERVAL = 60000; // 1min updates
|
const STATUS_UPDATE_INTERVAL = 60000; // 1min updates
|
||||||
const TIME_UPDATE_INTERVAL = 1; // 1ms updates (yeah its bad)
|
const TIME_UPDATE_INTERVAL = 1; // 1ms updates (yeah its bad)
|
||||||
|
|
||||||
// status warning stuff
|
// status warning stuff
|
||||||
const LATENCY_WARNING_THRESHOLD = 300000;
|
const LATENCY_WARNING_THRESHOLD = 500000;
|
||||||
|
|
||||||
// lazy group name mapping
|
// lazy group name mapping
|
||||||
const GROUP_NAMES = {
|
const GROUP_NAMES = {
|
||||||
@ -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