try to parse new headline elements after they have been deduplicated
This commit is contained in:
parent
cb1a012bb8
commit
fb0b2ebf84
|
@ -120,8 +120,6 @@ function headlines_callback2(transport, offset, background, infscroll_req) {
|
||||||
|
|
||||||
$("headlines-tmp").innerHTML = reply['headlines']['content'];
|
$("headlines-tmp").innerHTML = reply['headlines']['content'];
|
||||||
|
|
||||||
dojo.parser.parse('headlines-tmp');
|
|
||||||
|
|
||||||
var hsp = $("headlines-spacer");
|
var hsp = $("headlines-spacer");
|
||||||
|
|
||||||
if (hsp)
|
if (hsp)
|
||||||
|
@ -164,6 +162,8 @@ function headlines_callback2(transport, offset, background, infscroll_req) {
|
||||||
initHeadlinesMenu();
|
initHeadlinesMenu();
|
||||||
|
|
||||||
new_elems.each(function(child) {
|
new_elems.each(function(child) {
|
||||||
|
dojo.parser.parse(child);
|
||||||
|
|
||||||
if (!Element.visible(child))
|
if (!Element.visible(child))
|
||||||
new Effect.Appear(child, { duration : 0.5 });
|
new Effect.Appear(child, { duration : 0.5 });
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue