mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-18 13:39:41 -04:00
Edited the test, updated content
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user