Group GUI controls by camera
This commit is contained in:
@@ -14,11 +14,11 @@ function updateTimers() {
|
||||
}
|
||||
const remaining = target - now;
|
||||
if (remaining <= 0) {
|
||||
item.textContent = item.dataset.expiredLabel || "Auto-off pending";
|
||||
item.textContent = item.dataset.expiredLabel || "Automatic turn-off pending";
|
||||
item.classList.add("timer-expired");
|
||||
return;
|
||||
}
|
||||
item.textContent = `${item.dataset.prefix || "Auto-off"} ${formatRemaining(remaining)}`;
|
||||
item.textContent = `${item.dataset.prefix || "Automatic turn-off in"} ${formatRemaining(remaining)}`;
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user