From 0c7d88c2697818105fa6256c9dab2cb744ea61e0 Mon Sep 17 00:00:00 2001 From: petrus comestor Date: Thu, 22 May 2025 21:18:40 -0400 Subject: upd --- static/script.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'static') diff --git a/static/script.js b/static/script.js index f21372a..e5b9bc3 100644 --- a/static/script.js +++ b/static/script.js @@ -1,12 +1,9 @@ // optional var date = new Date(new Date().toDateString()); date.setDate(date.getDate() - 1); -console.log(date) for (var el of document.getElementsByClassName('event')) { - console.log(el) var d = Date.parse(el.getAttribute('data-timestamp')) if (d < date) { - console.log("remove", d) - el.remove() + el.style = 'display: none;' } } -- cgit v1.2.3