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
1 changed files with 1 additions and 1 deletions

View File

@ -75,7 +75,7 @@ function viewfeed(feed, method, is_cat, offset, background, infscroll_req) {
} else { } else {
cached_headlines = cache_get("feed:" + feed + ":" + is_cat); 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 // switching to a different feed, we might as well catchup stuff visible
// in headlines buffer (if any) // in headlines buffer (if any)