diff options
author | Andrew Dolgov <[email protected]> | 2018-12-05 07:41:55 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2018-12-05 07:41:55 +0300 |
commit | 9814ac608cbad97cbebc5fdd457df75dab97352d (patch) | |
tree | 2e5c7ddc19e30f91883803ae9728f129584d286c /js/Feeds.js | |
parent | 2621180b54c5d5862d7456634240b9b560ebc86e (diff) |
Headlines.click: do not set article active if it already is
Headlines.onLoaded: reset active article if not called in append mode
Diffstat (limited to 'js/Feeds.js')
-rw-r--r-- | js/Feeds.js | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/js/Feeds.js b/js/Feeds.js index fbcb56150..555f8f59f 100644 --- a/js/Feeds.js +++ b/js/Feeds.js @@ -303,11 +303,6 @@ define(["dojo/_base/declare"], function (declare) { // this is used to quickly switch between feeds, sets active but xhr is on a timeout const delayed = params.delayed || false; - if (feed != this.getActive() || this.activeIsCat() != is_cat) { - this._search_query = false; - Article.setActive(0); - } - if (offset != 0) { if (this.infscroll_in_progress) return; |