mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-20 15:37:26 -06:00
WebUI: prefer arrow function in callbacks
This commit is contained in:
@@ -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);
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user