WebUI: enforce strict comparison operators

This commit is contained in:
Chocobo1 2024-04-21 14:11:21 +08:00
parent 75e2ae2fa0
commit 4945ed576a
No known key found for this signature in database
GPG key ID: 210D9C873253A68C
19 changed files with 70 additions and 68 deletions

View file

@ -350,7 +350,7 @@ window.qBittorrent.PropFiles = (function() {
return;
}
let loadedNewTorrent = false;
if (new_hash != current_hash) {
if (new_hash !== current_hash) {
torrentFilesTable.clear();
current_hash = new_hash;
loadedNewTorrent = true;