properly display loading indicators in category titles
This commit is contained in:
parent
6e35a862dd
commit
b7665618db
2 changed files with 10 additions and 2 deletions
|
@ -315,7 +315,13 @@ function viewfeed(feed, subop, is_cat, subop_param, skip_history, offset) {
|
||||||
} else {
|
} else {
|
||||||
|
|
||||||
if (!page_offset) {
|
if (!page_offset) {
|
||||||
var feedr = $('FEEDR-' + feed);
|
var feedr;
|
||||||
|
|
||||||
|
if (is_cat) {
|
||||||
|
feedr = $('FCAP-' + feed);
|
||||||
|
} else {
|
||||||
|
feedr = $('FEEDR-' + feed);
|
||||||
|
}
|
||||||
|
|
||||||
if (feedr) {
|
if (feedr) {
|
||||||
var ll = document.createElement('img');
|
var ll = document.createElement('img');
|
||||||
|
|
|
@ -119,7 +119,9 @@ function headlines_callback2(transport, feed_cur_page) {
|
||||||
if (feedr && !feedr.className.match("Selected")) {
|
if (feedr && !feedr.className.match("Selected")) {
|
||||||
feedr.className = feedr.className + "Selected";
|
feedr.className = feedr.className + "Selected";
|
||||||
}
|
}
|
||||||
if (feedr && ll) feedr.removeChild(ll);
|
|
||||||
|
var fcap = $("FCAP-" + feed_id);
|
||||||
|
if (fcap && ll) fcap.removeChild(ll);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue