From 20872500852b1cb831b8e834bd7bfab42a59b255 Mon Sep 17 00:00:00 2001 From: altaf-creator Date: Wed, 3 Dec 2025 20:03:33 +0700 Subject: oops --- frontend/main.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/frontend/main.js b/frontend/main.js index 4bdb2a1..1434979 100644 --- a/frontend/main.js +++ b/frontend/main.js @@ -257,10 +257,8 @@ async function startLoadTimers() { text.innerText += seconds.toString().padStart(2, '0'); const prog = document.getElementById(progList[i]); - console.log(prog); - const totalTime = endTimestamps - startTimestamps; + const totalTime = endTimestamps[0] - startTimestamps[0]; prog.style.width = ((timeRemaining / (totalTime / 1000)) * 100).toString() + "%"; - console.log(prog.style.width); if (timeRemaining <= 0) { document.getElementById(`timer-btn-${i}`).disabled = false; -- cgit v1.2.3