diff options
author | Andrew Dolgov <[email protected]> | 2019-12-10 13:03:49 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2019-12-10 13:03:49 +0300 |
commit | 0e4f67bf2b4cd2b387aa6b5da56f57b9c59ceadd (patch) | |
tree | 0b70af35dcac9890db800d751d6b34bb94600f79 /js/Headlines.js | |
parent | 3993198aa78a11e8f224c43ec0ac4588e7d8c402 (diff) |
with previous change, we don't actually need to automatically track active articles now at all in combined mode.
Diffstat (limited to 'js/Headlines.js')
-rwxr-xr-x | js/Headlines.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/js/Headlines.js b/js/Headlines.js index 25244f195..6a3296205 100755 --- a/js/Headlines.js +++ b/js/Headlines.js @@ -272,7 +272,7 @@ define(["dojo/_base/declare"], function (declare) { try { Headlines.unpackVisible(); - if (App.isCombinedMode()) { + /*if (App.isCombinedMode()) { Headlines.updateFloatingTitle(); const ctr = $("headlines-frame"); @@ -289,13 +289,13 @@ define(["dojo/_base/declare"], function (declare) { /*console.log(row.getAttribute("data-article-title"), row.offsetTop, row.offsetHeight, ctr.scrollTop, ctr.offsetHeight, this.isChildVisible(row, ctr));*/ - if (this.isChildVisible(row, ctr)) { + /* if (this.isChildVisible(row, ctr)) { Article.setActive(row.getAttribute("data-article-id")); break; } } } - } + } */ if (!Feeds.infscroll_disabled && !Feeds.infscroll_in_progress) { const hsp = $("headlines-spacer"); |