Fix damage
This commit is contained in:
@@ -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}`;
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user