diff options
author | Andrew Dolgov <[email protected]> | 2011-10-20 23:45:55 +0400 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2011-10-20 23:45:55 +0400 |
commit | 0d333402ea4b81a800a4a4584b581f458ccdf970 (patch) | |
tree | f91d77b1b2ef78e8e73bede0f0e13594e951deff | |
parent | b74fa65f6dffb3cc244482dcd3f902419781e9d0 (diff) |
headlines callback: prevent creation of duplicate RROW nodes
-rw-r--r-- | viewfeed.js | 2 |
1 files changed, 2 insertions, 0 deletions
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); } }); |