feedlist: check for progressbar existence before creating one

master
Andrew Dolgov 15 years ago
parent f4280bdd13
commit 732a6197b4

@ -329,11 +329,14 @@ function viewfeed(feed, subop, is_cat, subop_param, skip_history, offset) {
if (!is_cat && img) {
if (!img.src.match("indicator_white")) {
img.alt = img.src;
img.src = 'images/indicator_white.gif';
}
} else {
if (!$('FLL-' + feed)) {
var ll = document.createElement('img');
ll.src = 'images/indicator_tiny.gif';
@ -341,8 +344,7 @@ function viewfeed(feed, subop, is_cat, subop_param, skip_history, offset) {
ll.id = 'FLL-' + feed;
feedr.appendChild(ll);
}
}
}
}

Loading…
Cancel
Save