summaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2019-02-21 14:22:33 +0300
committerAndrew Dolgov <[email protected]>2019-02-21 14:22:33 +0300
commit70c53257d962487608cd6554ce6b8bde86aeece5 (patch)
tree92c7352ff0bf2cea64ffbb85bed00c06d5909d7e /js
parentc78425b386b65c0cec0d360983a989c6124b8272 (diff)
on_catchup_show_next: remove auto-trigger on headlines scroll
Diffstat (limited to 'js')
-rwxr-xr-xjs/Headlines.js14
1 files changed, 0 insertions, 14 deletions
diff --git a/js/Headlines.js b/js/Headlines.js
index b0ac7debe..1414dd3c7 100755
--- a/js/Headlines.js
+++ b/js/Headlines.js
@@ -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);