From e321f40a6430f34ba8c68f24ce9616738f2e49f5 Mon Sep 17 00:00:00 2001 From: Hannes Mannerheim Date: Mon, 7 Mar 2016 18:35:25 +0100 Subject: [PATCH] hopefully fixes #46 --- js/dom-functions.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/js/dom-functions.js b/js/dom-functions.js index 8ad09e6..1be4edc 100644 --- a/js/dom-functions.js +++ b/js/dom-functions.js @@ -1926,8 +1926,9 @@ function addToFeed(feed, after, extraClasses) { // if repeat-notice doesn't already exist in feed if($('#stream-item-' + obj.id).length == 0) { - // if the repeated notice already exist in feed, we add this, but hidden - if($('.stream-item[data-quitter-id="' + obj.retweeted_status.id + '"]').length > 0) { + // if the this or the repeated notice already exist in feed, we add this, but hidden + if($('.stream-item[data-quitter-id="' + obj.retweeted_status.id + '"]').length > 0 + || $('.stream-item[data-quitter-id="' + obj.id + '"]').length > 0) { extraClassesThisRun += ' hidden-repeat'; }