summaryrefslogtreecommitdiff
path: root/js/feedlist.js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2013-03-19 20:29:20 +0400
committerAndrew Dolgov <[email protected]>2013-03-19 20:29:20 +0400
commit6cf60c881fbad073b26a236f5659cdae7767ae10 (patch)
treeee751732dc5da4dcb9cd425d46fe6fe6435ae202 /js/feedlist.js
parentca5917cd3961125c8412815df2b70711cf29a55a (diff)
add little loading indicator for feed categories
Diffstat (limited to 'js/feedlist.js')
-rw-r--r--js/feedlist.js10
1 files changed, 4 insertions, 6 deletions
diff --git a/js/feedlist.js b/js/feedlist.js
index 4dc8b503e..ae4c3a2fb 100644
--- a/js/feedlist.js
+++ b/js/feedlist.js
@@ -125,13 +125,11 @@ function viewfeed(feed, method, is_cat, offset, background, infscroll_req) {
Form.enable("main_toolbar_form");
- if (!offset)
- if (!is_cat) {
- if (!setFeedExpandoIcon(feed, is_cat, 'images/indicator_white.gif'))
- notify_progress("Loading, please wait...", true);
- } else {
+ if (!offset) {
+ if (!setFeedExpandoIcon(feed, is_cat,
+ (is_cat) ? 'images/indicator_tiny.gif' : 'images/indicator_white.gif'))
notify_progress("Loading, please wait...", true);
- }
+ }
}
query += "&cat=" + is_cat;