mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-14 15:45:55 +00:00
update title of active feed in feedlist on the fly
This commit is contained in:
@@ -596,7 +596,8 @@ function parse_counters(reply, scheduled_call) {
|
||||
var error = elems[l].getAttribute("error");
|
||||
var has_img = elems[l].getAttribute("hi");
|
||||
var updated = elems[l].getAttribute("updated");
|
||||
|
||||
var title = elems[l].getAttribute("title");
|
||||
|
||||
if (id == "global-unread") {
|
||||
global_unread = ctr;
|
||||
updateTitle();
|
||||
@@ -650,6 +651,10 @@ function parse_counters(reply, scheduled_call) {
|
||||
}
|
||||
}
|
||||
|
||||
if (feedlink && title) {
|
||||
feedlink.innerHTML = title;
|
||||
}
|
||||
|
||||
if (feedctr && feedu && feedr) {
|
||||
|
||||
if (feedu.innerHTML != ctr && id == getActiveFeedId() && scheduled_call) {
|
||||
|
||||
Reference in New Issue
Block a user