From: Andrew Dolgov Date: Fri, 5 Aug 2011 09:29:14 +0000 (+0400) Subject: viewfeed: do not show notify progress when offset != 0 X-Git-Tag: 1.5.6~55 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=3205fab020cdd6bec0add3aa4b879edc536b720a;p=tt-rss.git viewfeed: do not show notify progress when offset != 0 --- diff --git a/feedlist.js b/feedlist.js index fe4ab897..fb8a5de2 100644 --- a/feedlist.js +++ b/feedlist.js @@ -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,