mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2026-01-10 01:22:31 -06:00
WebUI: enforce strict comparison operators
This commit is contained in:
@@ -30,7 +30,7 @@
|
||||
const hashes = new URI().getData('hashes').split('|');
|
||||
const setDlLimit = function() {
|
||||
const limit = $("dllimitUpdatevalue").value.toInt() * 1024;
|
||||
if (hashes[0] == "global") {
|
||||
if (hashes[0] === "global") {
|
||||
new Request({
|
||||
url: 'api/v2/transfer/setDownloadLimit',
|
||||
method: 'post',
|
||||
|
||||
Reference in New Issue
Block a user