mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-08-21 05:43:32 -07:00
Reformat
Co-authored-by: Chocobo1 <Chocobo1@users.noreply.github.com>
This commit is contained in:
parent
8c72be25e4
commit
59c9723606
1 changed files with 3 additions and 5 deletions
|
@ -971,11 +971,9 @@ window.addEventListener("DOMContentLoaded", (event) => {
|
||||||
if (errorDiv)
|
if (errorDiv)
|
||||||
errorDiv.textContent = "QBT_TR(qBittorrent client is not reachable)QBT_TR[CONTEXT=HttpServer]";
|
errorDiv.textContent = "QBT_TR(qBittorrent client is not reachable)QBT_TR[CONTEXT=HttpServer]";
|
||||||
syncRequestInProgress = false;
|
syncRequestInProgress = false;
|
||||||
syncData(
|
syncData(document.hidden
|
||||||
document.hidden
|
? (window.qBittorrent.Cache.preferences.get().web_ui_session_timeout * 500)
|
||||||
? window.qBittorrent.Cache.preferences.get().web_ui_session_timeout * 500
|
: 2000);
|
||||||
: 2000
|
|
||||||
);
|
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue