mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-17 14:08:03 -06:00
WebUI: use correct property for selecting child elements
`firstChild` will select the first `Node` which is often not intended (it should be `Element` instead).
This commit is contained in:
@@ -132,7 +132,7 @@ window.qBittorrent.PropTrackers ??= (() => {
|
||||
},
|
||||
EditTracker: (element, ref) => {
|
||||
// only allow editing of one row
|
||||
element.firstChild.click();
|
||||
element.firstElementChild.click();
|
||||
editTrackerFN(element);
|
||||
},
|
||||
RemoveTracker: (element, ref) => {
|
||||
|
||||
Reference in New Issue
Block a user