mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-19 06:57:24 -06:00
WebUI: prefer using arrow functions
For addressing WebUI CI failures on v5_1_x branch.
This commit is contained in:
@@ -103,7 +103,7 @@ window.qBittorrent.FileTree ??= (() => {
|
||||
return nodes;
|
||||
},
|
||||
|
||||
_getArrayOfNodes: function(node, array) {
|
||||
_getArrayOfNodes: (node, array) => {
|
||||
array.push(node);
|
||||
node.children.each((child) => {
|
||||
this._getArrayOfNodes(child, array);
|
||||
|
||||
Reference in New Issue
Block a user