From 0d333402ea4b81a800a4a4584b581f458ccdf970 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Thu, 20 Oct 2011 23:45:55 +0400 Subject: [PATCH] headlines callback: prevent creation of duplicate RROW nodes --- viewfeed.js | 2 ++ 1 file changed, 2 insertions(+) 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); } }); -- 2.39.5