summaryrefslogtreecommitdiff
path: root/frontend
diff options
context:
space:
mode:
Diffstat (limited to 'frontend')
-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.";