mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-08-19 21:03:30 -07:00
Reformat
Co-authored-by: Chocobo1 <Chocobo1@users.noreply.github.com>
This commit is contained in:
parent
f3e90314ea
commit
8c72be25e4
1 changed files with 3 additions and 3 deletions
|
@ -73,9 +73,9 @@ window.qBittorrent.Client ??= (() => {
|
|||
};
|
||||
|
||||
const getSyncMainDataInterval = () => {
|
||||
return document.hidden
|
||||
? window.qBittorrent.Cache.preferences.get().web_ui_session_timeout * 500
|
||||
: customSyncMainDataInterval ? customSyncMainDataInterval : serverSyncMainDataInterval;
|
||||
if (document.hidden)
|
||||
return window.qBittorrent.Cache.preferences.get().web_ui_session_timeout * 500;
|
||||
return customSyncMainDataInterval ? customSyncMainDataInterval : serverSyncMainDataInterval;
|
||||
};
|
||||
|
||||
let stopped = false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue