summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoraltaf-creator <dev@altafcreator.com>2025-12-03 19:31:46 +0700
committeraltaf-creator <dev@altafcreator.com>2025-12-03 19:31:46 +0700
commitaf626d65d92d8c3d50a6067abd505fc257dc6386 (patch)
treec69a969e9813f234af2618eaa658a361e0b06b45
parent405557973ec679282722f6b609ef2749f3c4486a (diff)
fixes to multiple laundry notice
-rw-r--r--frontend/start.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/frontend/start.js b/frontend/start.js
index 4f03350..e87798a 100644
--- a/frontend/start.js
+++ b/frontend/start.js
@@ -8,7 +8,7 @@
if (Array.isArray(timers[1]) && timers[1].length > 0) {
existingPanel.style.display = 'inherit';
- if (timers.length == 1) {
+ if (timers[1].length == 1) {
existingText.innerText = "You currently have another ongoing laundry. You are creating a new timer.";
} else {
existingText.innerText = "You currently have other ongoing laundries. You are creating a new timer.";