mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 18:25:55 +00:00
adjust scroll amount to trigger auto-opening next unread feed
This commit is contained in:
@@ -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");
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user