]> git.wh0rd.org Git - tt-rss.git/commitdiff
viewfeed: do not show notify progress when offset != 0
authorAndrew Dolgov <fox@madoka.volgo-balt.ru>
Fri, 5 Aug 2011 09:29:14 +0000 (13:29 +0400)
committerAndrew Dolgov <fox@madoka.volgo-balt.ru>
Fri, 5 Aug 2011 09:29:14 +0000 (13:29 +0400)
feedlist.js

index fe4ab897ecf3fc38e648d69de8c932341657dc51..fb8a5de289537b0330fc8e0a46f7ece0369c9c96 100644 (file)
@@ -138,12 +138,13 @@ function viewfeed(feed, subop, is_cat, offset) {
 
                console.log(query);
 
-               if (!is_cat) {
-                       if (!setFeedExpandoIcon(feed, is_cat, 'images/indicator_white.gif'))
+               if (!offset)
+                       if (!is_cat) {
+                               if (!setFeedExpandoIcon(feed, is_cat, 'images/indicator_white.gif'))
+                                       notify_progress("Loading, please wait...", true);
+                       } else {
                                notify_progress("Loading, please wait...", true);
-               } else {
-                       notify_progress("Loading, please wait...", true);
-               }
+                       }
 
                new Ajax.Request("backend.php", {
                        parameters: query,