]> git.wh0rd.org - tt-rss.git/commitdiff
do not reset search query because of background requests
authorAndrew Dolgov <fox@madoka.volgo-balt.ru>
Sat, 27 Oct 2012 09:18:58 +0000 (13:18 +0400)
committerAndrew Dolgov <fox@madoka.volgo-balt.ru>
Sat, 27 Oct 2012 09:18:58 +0000 (13:18 +0400)
js/feedlist.js

index 5587c0f3025fb85233b6ea18d22fd6bd3cdeb73b..9104a460865734f1b1c70e5d1d4c9aabb85b6beb 100644 (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)