From 5867507cdc8c401b17d2a4118197887de9d53c20 Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Mon, 15 Nov 2010 06:49:43 +0100 Subject: [PATCH] Hide all removed notifications. --- src/main/resources/static/javascript/sone.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/main/resources/static/javascript/sone.js b/src/main/resources/static/javascript/sone.js index 5c3415b..20386f7 100644 --- a/src/main/resources/static/javascript/sone.js +++ b/src/main/resources/static/javascript/sone.js @@ -443,6 +443,9 @@ function getNotifications() { } notification.slideDown(); }); + $.each(data.removedNotifications, function(index, value) { + $("#sone #notification-area .notification#" + value.id).slideUp(); + }); } setTimeout(getNotifications, 5000); }); -- 2.7.4