summaryrefslogtreecommitdiff
path: root/frontend
diff options
context:
space:
mode:
authoraltaf-creator <dev@altafcreator.com>2025-12-02 18:23:49 +0700
committeraltaf-creator <dev@altafcreator.com>2025-12-02 18:23:49 +0700
commite8ab7e82cb56680ba5cdb803be607983af1dc9b2 (patch)
tree8592a8ce87379b26d613afc3c56aaffa8bf6fc2a /frontend
parentc5d2d59d8288daf99d452642674efaf071995a08 (diff)
frontend
Diffstat (limited to 'frontend')
-rw-r--r--frontend/main.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/frontend/main.js b/frontend/main.js
index 0319aaa..969614e 100644
--- a/frontend/main.js
+++ b/frontend/main.js
@@ -242,7 +242,7 @@ async function startLoadTimers() {
const prog = document.getElementById(progList[i]);
const totalTime = endTimestamps - startTimestamps;
- prog.style.width = ((minutes / (totalTime / 60000)) * 100).toString() + "%";
+ prog.style.width = ((timeRemaining / (totalTime / 1000)) * 100).toString() + "%";
if (timeRemaining <= 0) {
document.getElementById(`timer-btn-${i}`).disabled = false;