From a9e7bfb13241885b9de2a419590d2e7593217336 Mon Sep 17 00:00:00 2001 From: paul Date: Sat, 16 May 2020 10:47:47 +0200 Subject: [PATCH] mustard: notifs: Aggiunti controlli per cancellare le notifiche. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * web/mustard/notifs.php: Aggiunto bottone per eliminare le notifiche, e temporaneamente ForkAwesome, giusto perchè mi sembrava very cool. --- web/mustard/notifs.php | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) diff --git a/web/mustard/notifs.php b/web/mustard/notifs.php index c4f04b8..f3c530d 100644 --- a/web/mustard/notifs.php +++ b/web/mustard/notifs.php @@ -66,19 +66,10 @@ if ($filtordon) { box.checked = check.checked; }) } - - function readAllSelected() { - let notifs = document.querySelectorAll("div#notifs-list > div"); - notifs.forEach(function (notif) { - let checkbox = notif.querySelector("input.seen-checkbox"); - if (checkbox.checked) { - markread(notif); - } - }) - } - // --> + + @@ -101,7 +92,8 @@ if ($filtordon) {
- + +