try to parse new headline elements after they have been deduplicated
This commit is contained in:
parent
cb1a012bb8
commit
fb0b2ebf84
1 changed files with 2 additions and 2 deletions
|
@ -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 });
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue