From: Andrew Dolgov Date: Thu, 20 Oct 2011 19:45:55 +0000 (+0400) Subject: headlines callback: prevent creation of duplicate RROW nodes X-Git-Tag: 1.5.6~2 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=0d333402ea4b81a800a4a4584b581f458ccdf970;p=tt-rss.git headlines callback: prevent creation of duplicate RROW nodes --- diff --git a/viewfeed.js b/viewfeed.js index be2c5c67..daaf57aa 100644 --- a/viewfeed.js +++ b/viewfeed.js @@ -100,6 +100,8 @@ function headlines_callback2(transport, offset, background) { if ($$("#headlines-frame DIV[id="+row.id+"]").length == 0) { row.style.display = 'none'; c.domNode.appendChild(row); + } else { + row.parentNode.removeChild(row); } });