From: Andrew Dolgov Date: Sat, 27 Oct 2012 09:18:58 +0000 (+0400) Subject: do not reset search query because of background requests X-Git-Tag: 1.6.1~58 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=1e07a58a862b2dace76ce7b340b44af2aaf514f1;p=tt-rss.git do not reset search query because of background requests --- 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)