mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-15 18:15:56 +00:00
offline: tweak syncing
This commit is contained in:
@@ -1618,10 +1618,12 @@ function toggleOfflineModeInfo() {
|
||||
}
|
||||
}
|
||||
|
||||
function offlineDownloadStart() {
|
||||
function offlineDownloadStart(stage) {
|
||||
try {
|
||||
if (!stage) stage = 0;
|
||||
|
||||
if (db && !sync_in_progress && getInitParam("offline_enabled") == "1") {
|
||||
window.setTimeout("update_offline_data(0)", 100);
|
||||
window.setTimeout("update_offline_data("+stage+")", 100);
|
||||
}
|
||||
} catch (e) {
|
||||
exception_error("offlineDownloadStart", e);
|
||||
|
||||
Reference in New Issue
Block a user