adjust scroll amount to trigger auto-opening next unread feed
This commit is contained in:
parent
2d2ec8a81a
commit
74217c72a1
|
@ -1365,7 +1365,7 @@ function headlines_scroll_handler(e) {
|
||||||
var child = $$("#headlines-frame div[id*=RROW]").last();
|
var child = $$("#headlines-frame div[id*=RROW]").last();
|
||||||
|
|
||||||
if (child && $("headlines-frame").scrollTop >
|
if (child && $("headlines-frame").scrollTop >
|
||||||
(child.offsetTop + child.offsetHeight/2)) {
|
(child.offsetTop + child.offsetHeight - 50)) {
|
||||||
|
|
||||||
console.log("we seem to be at an end");
|
console.log("we seem to be at an end");
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue