mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2024-11-26 19:26:59 +03:00
Fixing setting speed limit of torrent in WEBUI
Fixing setting speed limit of torrent in WEBUI when global speed limit is not set.
This commit is contained in:
parent
d6f309b7a6
commit
5cc90844a5
1 changed files with 2 additions and 2 deletions
|
@ -31,7 +31,7 @@ MochaUI.extend({
|
|||
if(tmp > 0) {
|
||||
maximum = tmp / 1024.
|
||||
} else {
|
||||
maximum = 0
|
||||
maximum = 1000
|
||||
}
|
||||
}
|
||||
// Get torrent upload limit
|
||||
|
@ -118,7 +118,7 @@ MochaUI.extend({
|
|||
if(tmp > 0) {
|
||||
maximum = tmp / 1024.
|
||||
} else {
|
||||
maximum = 0
|
||||
maximum = 1000
|
||||
}
|
||||
}
|
||||
// Get torrent download limit
|
||||
|
|
Loading…
Reference in a new issue