From: David ‘Bombe’ Roden Date: Thu, 7 Apr 2011 09:26:06 +0000 (+0200) Subject: Check replaced notifications for changes. X-Git-Tag: 0.6.1^2~26^2~1 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=34b4987d99e50c102c159fb86dcde749d601ac8f;p=Sone.git Check replaced notifications for changes. --- diff --git a/src/main/resources/static/javascript/sone.js b/src/main/resources/static/javascript/sone.js index 6723196..1c0ac1c 100644 --- a/src/main/resources/static/javascript/sone.js +++ b/src/main/resources/static/javascript/sone.js @@ -996,6 +996,9 @@ function getStatus() { notification.find(".short-text").toggleClass("hidden", opened); notification.find(".text").toggleClass("hidden", !opened); } + checkForRemovedSones(oldNotification, notification); + checkForRemovedPosts(oldNotification, notification); + checkForRemovedReplies(oldNotification, notification); oldNotification.replaceWith(notification.show()); } else { $("#sone #notification-area").append(notification);