Fix damage

This commit is contained in:
2025-04-15 22:13:45 +02:00
parent c9cc6b4035
commit fdbcb73be6

View File

@@ -8,7 +8,7 @@ function update_time() {
const now = new Date();
if(now >= target) {
countdown.innerHTML = "Akce již proběhla.<br>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}`;
}
}