do not reset search query because of background requests

This commit is contained in:
Andrew Dolgov 2012-10-27 13:18:58 +04:00
parent 02195b9d48
commit 1e07a58a86

View file

@ -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)