mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-14 05:55:56 +00:00
cdm auto catchup: mark posts when scrolled above half their height
This commit is contained in:
@@ -1321,7 +1321,7 @@ function headlines_scroll_handler(e) {
|
|||||||
$$("#headlines-frame > div[id*=RROW][class*=Unread]").each(
|
$$("#headlines-frame > div[id*=RROW][class*=Unread]").each(
|
||||||
function(child) {
|
function(child) {
|
||||||
if ($("headlines-frame").scrollTop >
|
if ($("headlines-frame").scrollTop >
|
||||||
(child.offsetTop + child.offsetHeight)) {
|
(child.offsetTop + child.offsetHeight/2)) {
|
||||||
|
|
||||||
ids.push(child.id.replace("RROW-", ""));
|
ids.push(child.id.replace("RROW-", ""));
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user