mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 23:25:56 +00:00
offline: automatically set version of manifest.json (using filemtime)
This commit is contained in:
@@ -458,6 +458,13 @@ function parse_counters(reply, scheduled_call) {
|
||||
var xmsg = elems[l].getAttribute("xmsg");
|
||||
|
||||
if (id == "global-unread") {
|
||||
|
||||
if (ctr > global_unread) {
|
||||
if (db && getInitParam("offline_enabled") == "1") {
|
||||
window.setTimeout("update_offline_data(0)", 100);
|
||||
}
|
||||
}
|
||||
|
||||
global_unread = ctr;
|
||||
updateTitle();
|
||||
continue;
|
||||
|
||||
Reference in New Issue
Block a user