diff options
author | Andrew Dolgov <[email protected]> | 2012-08-10 15:02:11 +0400 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2012-08-10 15:02:11 +0400 |
commit | ab29de3251f4773c6c7e894ef16db16d8d5ae1e0 (patch) | |
tree | 2dd999415cffd269f25bd08d5d7ed9f1e8c134ea /js/viewfeed.js | |
parent | 871f0a7ac658a0be2ed982ed1bcc6daccf14fd8a (diff) |
Revert "fix clamping for infinite scrolling (refs #479)"
This reverts commit 8c5c4e494d92772533b2d56cbd426a01ccc24da1.
Diffstat (limited to 'js/viewfeed.js')
-rw-r--r-- | js/viewfeed.js | 5 |
1 files changed, 2 insertions, 3 deletions
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); } }); |