From 6df2639c97f682839b046d66f53ca3209db4461d Mon Sep 17 00:00:00 2001 From: Victor Giers Date: Mon, 26 May 2025 10:26:07 +0200 Subject: [PATCH] auto-git: [change] renderer.js --- renderer.js | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/renderer.js b/renderer.js index 0a929c9..4e645e8 100644 --- a/renderer.js +++ b/renderer.js @@ -374,23 +374,7 @@ function startLiveCountdown(folderObj, msLeft) { }, 1000); } -// Zeit-Formatter (wie gehabt) -function formatCountdown(ms) { - if (!ms || ms < 0) return "00:00"; - const totalSec = Math.floor(ms / 1000); - const min = Math.floor(totalSec / 60).toString().padStart(2, "0"); - const sec = (totalSec % 60).toString().padStart(2, "0"); - return `${min}:${sec}`; -} -// Helfer für mm:ss -function formatCountdown(ms) { - if (!ms || ms < 0) return "00:00"; - const totalSec = Math.floor(ms / 1000); - const min = Math.floor(totalSec / 60).toString().padStart(2, "0"); - const sec = (totalSec % 60).toString().padStart(2, "0"); - return `${min}:${sec}`; -} const folderTitleDrop = document.getElementById('folderTitleDrop');