From de4335e8911da26e98357453695064440f34b89c Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Tue, 25 Dec 2012 18:39:25 +0400 Subject: [PATCH] more RCHK dijit dupe checking --- js/viewfeed.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/js/viewfeed.js b/js/viewfeed.js index 643937ec..45e1a54e 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)) -- 2.39.5