mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 14:15:56 +00:00
tweak infscroll with hsp existing
This commit is contained in:
@@ -1117,7 +1117,7 @@ function headlines_scroll_handler(e) {
|
||||
var hsp = $("headlines-spacer");
|
||||
|
||||
if (!_infscroll_disable) {
|
||||
if ((hsp && e.scrollTop + e.offsetHeight > hsp.offsetTop) ||
|
||||
if ((hsp && e.scrollTop + e.offsetHeight >= hsp.offsetTop - hsp.offsetHeight) ||
|
||||
(e.scrollHeight != 0 &&
|
||||
((e.scrollTop + e.offsetHeight) / e.scrollHeight >= 0.7))) {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user