mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-14 08:05:56 +00:00
improve output when EXTENDED_FEEDLIST is set, font size tweaks
This commit is contained in:
19
functions.js
19
functions.js
@@ -475,7 +475,8 @@ function parse_counters(reply, scheduled_call) {
|
||||
var has_img = elems[l].getAttribute("hi");
|
||||
var updated = elems[l].getAttribute("updated");
|
||||
var title = elems[l].getAttribute("title");
|
||||
|
||||
var xmsg = elems[l].getAttribute("xmsg");
|
||||
|
||||
if (id == "global-unread") {
|
||||
global_unread = ctr;
|
||||
updateTitle();
|
||||
@@ -515,11 +516,21 @@ function parse_counters(reply, scheduled_call) {
|
||||
}
|
||||
}
|
||||
|
||||
if (updated && feedupd) {
|
||||
if (feedupd) {
|
||||
if (!updated) updated = "";
|
||||
|
||||
if (error) {
|
||||
feedupd.innerHTML = updated + " (Error)";
|
||||
if (xmsg) {
|
||||
feedupd.innerHTML = updated + " " + xmsg + " (Error)";
|
||||
} else {
|
||||
feedupd.innerHTML = updated + " (Error)";
|
||||
}
|
||||
} else {
|
||||
feedupd.innerHTML = updated;
|
||||
if (xmsg) {
|
||||
feedupd.innerHTML = updated + " " + xmsg;
|
||||
} else {
|
||||
feedupd.innerHTML = updated;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user