mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 06:55:56 +00:00
on_catchup_show_next: remove auto-trigger on headlines scroll
This commit is contained in:
@@ -275,20 +275,6 @@ define(["dojo/_base/declare"], function (declare) {
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (Feeds.infscroll_disabled) {
|
|
||||||
const row = $$("#headlines-frame div[id*=RROW]").last();
|
|
||||||
|
|
||||||
if (row && $("headlines-frame").scrollTop >
|
|
||||||
(row.offsetTop + row.offsetHeight - 50)) {
|
|
||||||
|
|
||||||
console.log("we seem to be at an end");
|
|
||||||
|
|
||||||
if (App.getInitParam("on_catchup_show_next_feed") == "1") {
|
|
||||||
Feeds.openNextUnread();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
console.warn("scrollHandler", e);
|
console.warn("scrollHandler", e);
|
||||||
|
|||||||
Reference in New Issue
Block a user