Skip to content
Snippets Groups Projects
Commit 732a6197 authored by Andrew Dolgov's avatar Andrew Dolgov
Browse files

feedlist: check for progressbar existence before creating one

parent f4280bdd
No related branches found
No related tags found
No related merge requests found
......@@ -329,20 +329,22 @@ function viewfeed(feed, subop, is_cat, subop_param, skip_history, offset) {
if (!is_cat && img) {
img.alt = img.src;
img.src = 'images/indicator_white.gif';
if (!img.src.match("indicator_white")) {
img.alt = img.src;
img.src = 'images/indicator_white.gif';
}
} else {
var ll = document.createElement('img');
if (!$('FLL-' + feed)) {
var ll = document.createElement('img');
ll.src = 'images/indicator_tiny.gif';
ll.className = 'hlLoading';
ll.id = 'FLL-' + feed;
ll.src = 'images/indicator_tiny.gif';
ll.className = 'hlLoading';
ll.id = 'FLL-' + feed;
feedr.appendChild(ll);
feedr.appendChild(ll);
}
}
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment