summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2012-12-25 18:39:25 +0400
committerAndrew Dolgov <[email protected]>2012-12-25 18:39:25 +0400
commitde4335e8911da26e98357453695064440f34b89c (patch)
tree39d882072305a9f3c75618ee6a353d5c0d59a33c
parentad1a0687bf0f342a586faeccc521620acb8f0a1d (diff)
more RCHK dijit dupe checking
-rw-r--r--js/viewfeed.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/js/viewfeed.js b/js/viewfeed.js
index 643937ecc..45e1a54e2 100644
--- a/js/viewfeed.js
+++ b/js/viewfeed.js
@@ -162,6 +162,10 @@ function headlines_callback2(transport, offset, background, infscroll_req) {
initHeadlinesMenu();
new_elems.each(function(child) {
+ if (dijit.byId("RCHK-" + child.id)) {
+ dijit.byId("RCHK-" + child.id).destroy();
+ }
+
dojo.parser.parse(child);
if (!Element.visible(child))