feedlist: tweak the loading progressbar display

master
Andrew Dolgov 15 years ago
parent 925832c635
commit 105b61b771

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

@ -125,6 +125,13 @@ function headlines_callback2(transport, feed_cur_page) {
}
var img = $('FIMG-' + feed_id);
if (img && !is_cat) {
img.src = img.alt;
img.alt = '';
}
var f = $("headlines-frame");
try {
if (feed_cur_page == 0) {

Loading…
Cancel
Save