1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-28 15:41:29 +00:00

add little loading indicator for feed categories

This commit is contained in:
Andrew Dolgov
2013-03-19 20:29:20 +04:00
parent ca5917cd39
commit 6cf60c881f
2 changed files with 20 additions and 8 deletions

View File

@@ -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;