From: Andrew Dolgov Date: Tue, 25 Dec 2012 14:04:29 +0000 (+0400) Subject: try to parse new headline elements after they have been deduplicated X-Git-Tag: 1.7.0~118 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=fb0b2ebf8471e3070b824f53475b641c515a128b;p=tt-rss.git try to parse new headline elements after they have been deduplicated --- diff --git a/js/viewfeed.js b/js/viewfeed.js index 02dde365..643937ec 100644 --- a/js/viewfeed.js +++ b/js/viewfeed.js @@ -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 }); });