summaryrefslogtreecommitdiff
path: root/viewfeed.js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2011-10-20 23:45:55 +0400
committerAndrew Dolgov <[email protected]>2011-10-20 23:45:55 +0400
commit0d333402ea4b81a800a4a4584b581f458ccdf970 (patch)
treef91d77b1b2ef78e8e73bede0f0e13594e951deff /viewfeed.js
parentb74fa65f6dffb3cc244482dcd3f902419781e9d0 (diff)
headlines callback: prevent creation of duplicate RROW nodes
Diffstat (limited to 'viewfeed.js')
-rw-r--r--viewfeed.js2
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);
}
});