From 0d333402ea4b81a800a4a4584b581f458ccdf970 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Thu, 20 Oct 2011 23:45:55 +0400 Subject: headlines callback: prevent creation of duplicate RROW nodes --- viewfeed.js | 2 ++ 1 file changed, 2 insertions(+) (limited to 'viewfeed.js') diff --git a/viewfeed.js b/viewfeed.js index be2c5c67b..daaf57aaf 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); } }); -- cgit v1.2.3