]> git.wh0rd.org Git - tt-rss.git/commitdiff
more RCHK dijit dupe checking
authorAndrew Dolgov <fox@madoka.volgo-balt.ru>
Tue, 25 Dec 2012 14:39:25 +0000 (18:39 +0400)
committerAndrew Dolgov <fox@madoka.volgo-balt.ru>
Tue, 25 Dec 2012 14:39:25 +0000 (18:39 +0400)
js/viewfeed.js

index 643937ecccb7d16daf552c13ec8555a84738d2ee..45e1a54e229cd3210dd5d47b1d02bc4dea8cf02d 100644 (file)
@@ -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))