From 1e07a58a862b2dace76ce7b340b44af2aaf514f1 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Sat, 27 Oct 2012 13:18:58 +0400 Subject: [PATCH] do not reset search query because of background requests --- js/feedlist.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/feedlist.js b/js/feedlist.js index 5587c0f3..9104a460 100644 --- a/js/feedlist.js +++ b/js/feedlist.js @@ -75,7 +75,7 @@ function viewfeed(feed, method, is_cat, offset, background, infscroll_req) { } else { cached_headlines = cache_get("feed:" + feed + ":" + is_cat); - if (_search_query) _search_query = false; + if (!background && _search_query) _search_query = false; // switching to a different feed, we might as well catchup stuff visible // in headlines buffer (if any) -- 2.39.5