mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-17 14:08:03 -06:00
WebUI: Replace getElement with querySelector
All `getElement` instances (Mootools) were changed to `querySelector`. PR #22082.
This commit is contained in:
@@ -2305,7 +2305,7 @@ window.qBittorrent.DynamicTable ??= (() => {
|
||||
node.checked = 0;
|
||||
node.full_data.checked = 0;
|
||||
|
||||
const checkbox = tr.children[0].getElement("input");
|
||||
const checkbox = tr.querySelector(".RenamingCB");
|
||||
checkbox.state = "checked";
|
||||
checkbox.indeterminate = false;
|
||||
checkbox.checked = true;
|
||||
|
||||
Reference in New Issue
Block a user