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}`; } }