From: Andrew Dolgov Date: Tue, 25 Dec 2012 14:39:25 +0000 (+0400) Subject: more RCHK dijit dupe checking X-Git-Tag: 1.7.0~115 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=de4335e8911da26e98357453695064440f34b89c;p=tt-rss.git more RCHK dijit dupe checking --- 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))