summaryrefslogtreecommitdiff
path: root/js/Feeds.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/Feeds.js')
-rw-r--r--js/Feeds.js7
1 files changed, 1 insertions, 6 deletions
diff --git a/js/Feeds.js b/js/Feeds.js
index fbcb56150..07bc37192 100644
--- a/js/Feeds.js
+++ b/js/Feeds.js
@@ -212,7 +212,7 @@ define(["dojo/_base/declare"], function (declare) {
App.setLoadingProgress(50);
- document.onkeydown = (event) => { App.hotkeyHandler(event) };
+ document.onkeydown = (event) => { return App.hotkeyHandler(event) };
window.setInterval(() => { Headlines.catchupBatched() }, 10 * 1000);
if (!this.getActive()) {
@@ -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;