summaryrefslogtreecommitdiff
path: root/includes/components/wakeup.inc
diff options
context:
space:
mode:
authorRaindropsSys <contact@minteck.org>2023-03-26 22:49:33 +0200
committerRaindropsSys <contact@minteck.org>2023-03-26 22:49:33 +0200
commit6ab243c12f2514cd0f40e80504223664755a6da4 (patch)
tree48e873795fcf46820088a34dd22da6dd2d56b96f /includes/components/wakeup.inc
parentbbf526b19c9831349a3b836f83b63363e6b33609 (diff)
downloadpluralconnect-6ab243c12f2514cd0f40e80504223664755a6da4.tar.gz
pluralconnect-6ab243c12f2514cd0f40e80504223664755a6da4.tar.bz2
pluralconnect-6ab243c12f2514cd0f40e80504223664755a6da4.zip
Updated 3 files (automated)
Diffstat (limited to 'includes/components/wakeup.inc')
-rw-r--r--includes/components/wakeup.inc8
1 files changed, 4 insertions, 4 deletions
diff --git a/includes/components/wakeup.inc b/includes/components/wakeup.inc
index d7bceee..818378a 100644
--- a/includes/components/wakeup.inc
+++ b/includes/components/wakeup.inc
@@ -70,22 +70,22 @@
document.getElementById("next-notification").innerText = "now";
if (document.getElementById("fake-requests").checked) {
window.alertIntervalCounter = window.alertIntervalAmount;
- document.getElementById("next-notification").innerText = window.alertIntervalAmount + " seconds";
+ document.getElementById("next-notification").innerText = "in " + window.alertIntervalAmount + " seconds";
} else {
window.fetch("/api/wakeup").then(() => {
window.alertIntervalCounter = window.alertIntervalAmount;
- document.getElementById("next-notification").innerText = window.alertIntervalAmount + " seconds";
+ document.getElementById("next-notification").innerText = "in " + window.alertIntervalAmount + " seconds";
})
}
} else {
document.getElementById("next-notification").innerText = "now";
if (document.getElementById("fake-requests").checked) {
window.alertIntervalCounter = window.alertIntervalAmount;
- document.getElementById("next-notification").innerText = window.alertIntervalAmount + " seconds";
+ document.getElementById("next-notification").innerText = "in " + window.alertIntervalAmount + " seconds";
} else {
window.fetch("/api/wakeup-real").then(() => {
window.alertIntervalCounter = window.alertIntervalAmount;
- document.getElementById("next-notification").innerText = window.alertIntervalAmount + " seconds";
+ document.getElementById("next-notification").innerText = "in " + window.alertIntervalAmount + " seconds";
})
}
}