mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-18 14:38:04 -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:
@@ -103,7 +103,7 @@ window.qBittorrent.PropWebseeds ??= (() => {
|
||||
},
|
||||
EditWebSeed: (element, ref) => {
|
||||
// only allow editing of one row
|
||||
element.firstChild.click();
|
||||
element.firstElementChild.click();
|
||||
editWebSeedFN(element);
|
||||
},
|
||||
RemoveWebSeed: (element, ref) => {
|
||||
|
||||
Reference in New Issue
Block a user