From fdbcb73be6996e8948bf49af715272b60aa1ce1f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20Mekina?= Date: Tue, 15 Apr 2025 22:13:45 +0200 Subject: [PATCH] Fix damage --- scripts/countdown.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/countdown.js b/scripts/countdown.js index cc68f9f..01413b7 100644 --- a/scripts/countdown.js +++ b/scripts/countdown.js @@ -8,7 +8,7 @@ function update_time() { const now = new Date(); if(now >= target) { - countdown.innerHTML = "Akce již proběhla.
Děkujeme všem za návštěvu."; + countdown.innerHTML = ""; return; } @@ -26,7 +26,7 @@ function update_time() { if (day == "0") { countdown.innerHTML = `${hour}:${min}:${sec}`; } else { - countdown.innerHTML = `${day} dní ${hour}:${min}:${sec}`; + countdown.innerHTML = `${day}d ${hour}:${min}:${sec}`; } }