1
0
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:
Andrew Dolgov
2009-02-12 13:59:00 +03:00
parent 5fe4848b5a
commit 0cd6bb46f7
3 changed files with 104 additions and 1 deletions

View File

@@ -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;