mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-19 23:17:21 -06:00
Fix speed limit sliders initialization in Web UI
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user