WebUI: prefer arrow function in callbacks

This commit is contained in:
Chocobo1
2024-05-27 22:57:28 +08:00
parent 55bff4f07a
commit 24a1537cdd
32 changed files with 215 additions and 214 deletions

View File

@@ -86,7 +86,7 @@ window.qBittorrent.PropPeers = (function() {
}
}
if (response["peers_removed"]) {
response["peers_removed"].each(function(hash) {
response["peers_removed"].each((hash) => {
torrentPeersTable.removeRow(hash);
});
}