mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-12 08:16:16 -07:00
Fix speed limit sliders initialization in Web UI
This commit is contained in:
parent
9b0dd39d9d
commit
bf4f1a7c37
1 changed files with 4 additions and 0 deletions
|
@ -30,6 +30,8 @@ MochaUI.extend({
|
|||
var tmp = data.toInt();
|
||||
if(tmp > 0) {
|
||||
maximum = tmp / 1024.
|
||||
} else {
|
||||
maximum = 0
|
||||
}
|
||||
}
|
||||
// Get torrent upload limit
|
||||
|
@ -115,6 +117,8 @@ MochaUI.extend({
|
|||
var tmp = data.toInt();
|
||||
if(tmp > 0) {
|
||||
maximum = tmp / 1024.
|
||||
} else {
|
||||
maximum = 0
|
||||
}
|
||||
}
|
||||
// Get torrent download limit
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue