diff --git a/js/viewfeed.js b/js/viewfeed.js index 49eac8750..2e8301640 100644 --- a/js/viewfeed.js +++ b/js/viewfeed.js @@ -116,7 +116,6 @@ function headlines_callback2(transport, offset, background, infscroll_req) { $$("#headlines-tmp > div").each(function(row) { if ($$("#headlines-frame DIV[id="+row.id+"]").length == 0) { row.style.display = 'none'; - c.domNode.appendChild(row); } else { row.parentNode.removeChild(row); @@ -142,10 +141,10 @@ function headlines_callback2(transport, offset, background, infscroll_req) { $$("#headlines-frame > div[id*=RROW]").each( function(child) { if (!Element.visible(child)) { - //new Effect.Appear(child, { duration : 0.5 }); - Element.show(child); + new Effect.Appear(child, { duration : 0.5 }); cp = child.getElementsByClassName("contentPreview")[0]; + clamp_element(cp, 50); } });