]> git.wh0rd.org Git - tt-rss.git/commitdiff
try to parse new headline elements after they have been deduplicated
authorAndrew Dolgov <fox@madoka.volgo-balt.ru>
Tue, 25 Dec 2012 14:04:29 +0000 (18:04 +0400)
committerAndrew Dolgov <fox@madoka.volgo-balt.ru>
Tue, 25 Dec 2012 14:04:29 +0000 (18:04 +0400)
js/viewfeed.js

index 02dde365fdf2538f236f48bb765b80f5d4162493..643937ecccb7d16daf552c13ec8555a84738d2ee 100644 (file)
@@ -120,8 +120,6 @@ function headlines_callback2(transport, offset, background, infscroll_req) {
 
                                        $("headlines-tmp").innerHTML = reply['headlines']['content'];
 
-                                       dojo.parser.parse('headlines-tmp');
-
                                        var hsp = $("headlines-spacer");
 
                                        if (hsp)
@@ -164,6 +162,8 @@ function headlines_callback2(transport, offset, background, infscroll_req) {
                                        initHeadlinesMenu();
 
                                        new_elems.each(function(child) {
+                                               dojo.parser.parse(child);
+
                                                if (!Element.visible(child))
                                                        new Effect.Appear(child, { duration : 0.5 });
                                        });