Edited the test, updated content

This commit is contained in:
Jonathan Bobel
2024-03-01 09:34:25 -05:00
parent 7d8d988f62
commit 507973f9ae
3 changed files with 27 additions and 19 deletions

View File

@@ -12,7 +12,7 @@
const days = Math.floor(difference / (1000 * 60 * 60 * 24));
// Visibility logic
if (days < 0) {
if (days < 0 || days > 10) {
// Hide if more than 10 days away OR if already past the date
document.getElementById("countdown-container").style.display = "none";
} else {