mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-18 06:28:03 -06:00
WebUI: Fix initial state of the alternative speed limits icon
This commit is contained in:
@@ -297,7 +297,7 @@ window.addEvent('load', function () {
|
||||
new Request({url: 'command/alternativeSpeedLimitsEnabled',
|
||||
method: 'get',
|
||||
onSuccess : function (isEnabled) {
|
||||
alternativeSpeedsLimit = !!isEnabled;
|
||||
alternativeSpeedsLimit = !!parseInt(isEnabled);
|
||||
if (alternativeSpeedsLimit)
|
||||
$('alternativeSpeedLimits').src = "images/slow.png"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user