From 13d7976dd7a6e26a242d331451921b693c07df6a Mon Sep 17 00:00:00 2001 From: Hannes Mannerheim Date: Mon, 19 Jan 2015 17:05:12 +0100 Subject: [PATCH] removal of duplicate notifications was broken --- js/dom-functions.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/dom-functions.js b/js/dom-functions.js index 3823c98..e601796 100644 --- a/js/dom-functions.js +++ b/js/dom-functions.js @@ -1480,7 +1480,7 @@ function addToFeed(feed, after, extraClasses, isReply) { } // only if this notification isn't already in stream - if($('#stream-item-' + obj.id).length == 0) { + if($('#feed-body > .stream-item[data-quitter-id-in-stream="' + obj.id + '"]').length == 0) { obj.from_profile.description = obj.from_profile.description || ''; var notificationTime = parseTwitterDate(obj.created_at);