mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-11 15:56:17 -07:00
Apply code formatting
This commit is contained in:
parent
45465e994e
commit
121ff2b7be
19 changed files with 264 additions and 253 deletions
|
@ -701,7 +701,7 @@ window.addEvent('load', function() {
|
|||
};
|
||||
|
||||
const syncData = function(delay) {
|
||||
if (!syncRequestInProgress){
|
||||
if (!syncRequestInProgress) {
|
||||
clearTimeout(syncMainDataTimer);
|
||||
syncMainDataTimer = syncMainData.delay(delay);
|
||||
}
|
||||
|
@ -744,21 +744,18 @@ window.addEvent('load', function() {
|
|||
}
|
||||
|
||||
switch (serverState.connection_status) {
|
||||
case 'connected': {
|
||||
case 'connected':
|
||||
$('connectionStatus').src = 'icons/connected.svg';
|
||||
$('connectionStatus').alt = 'QBT_TR(Connection status: Connected)QBT_TR[CONTEXT=MainWindow]';
|
||||
}
|
||||
break;
|
||||
case 'firewalled': {
|
||||
break;
|
||||
case 'firewalled':
|
||||
$('connectionStatus').src = 'icons/firewalled.svg';
|
||||
$('connectionStatus').alt = 'QBT_TR(Connection status: Firewalled)QBT_TR[CONTEXT=MainWindow]';
|
||||
}
|
||||
break;
|
||||
default: {
|
||||
break;
|
||||
default:
|
||||
$('connectionStatus').src = 'icons/disconnected.svg';
|
||||
$('connectionStatus').alt = 'QBT_TR(Connection status: Disconnected)QBT_TR[CONTEXT=MainWindow]';
|
||||
}
|
||||
break;
|
||||
break;
|
||||
}
|
||||
|
||||
if (queueing_enabled != serverState.queueing) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue