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

feedlist: tweak the loading progressbar display

This commit is contained in:
Andrew Dolgov
2009-10-07 23:16:21 +04:00
parent 925832c635
commit 105b61b771
2 changed files with 25 additions and 5 deletions

View File

@@ -324,13 +324,26 @@ function viewfeed(feed, subop, is_cat, subop_param, skip_history, offset) {
}
if (feedr && !$('FLL-' + feed)) {
var ll = document.createElement('img');
ll.src = 'images/indicator_tiny.gif';
ll.className = 'hlLoading';
ll.id = 'FLL-' + feed;
var img = $('FIMG-' + feed);
feedr.appendChild(ll);
if (!is_cat && img) {
img.alt = img.src;
img.src = 'images/indicator_white.gif';
} else {
var ll = document.createElement('img');
ll.src = 'images/indicator_tiny.gif';
ll.className = 'hlLoading';
ll.id = 'FLL-' + feed;
feedr.appendChild(ll);
}
}
}