mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2026-01-05 07:02:31 -06:00
Refactor var to let/const or this
This commit is contained in:
@@ -24,9 +24,9 @@
|
||||
<script>
|
||||
'use strict';
|
||||
|
||||
var hashes = new URI().getData('hashes').split('|');
|
||||
var setUpLimit = function() {
|
||||
var limit = $("uplimitUpdatevalue").value.toInt() * 1024;
|
||||
const hashes = new URI().getData('hashes').split('|');
|
||||
const setUpLimit = function() {
|
||||
const limit = $("uplimitUpdatevalue").value.toInt() * 1024;
|
||||
if (hashes[0] == "global") {
|
||||
new Request({
|
||||
url: 'api/v2/transfer/setUploadLimit',
|
||||
|
||||
Reference in New Issue
Block a user