on_catchup_show_next: remove auto-trigger on headlines scroll

This commit is contained in:
Andrew Dolgov 2019-02-21 14:22:33 +03:00
parent c78425b386
commit 70c53257d9
1 changed files with 0 additions and 14 deletions

View File

@ -275,20 +275,6 @@ define(["dojo/_base/declare"], function (declare) {
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) {
console.warn("scrollHandler", e);