mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-08-22 22:33:34 -07:00
Remove elements directly
This commit is contained in:
parent
de01fcd4a9
commit
de0b7dde4d
1 changed files with 1 additions and 1 deletions
|
@ -862,7 +862,7 @@ vanillaSelectBox.prototype.remoteSearchIntegrateIt = function (data) {
|
|||
let self = this;
|
||||
if (data == null || data.length == 0) return;
|
||||
while(self.root.firstChild)
|
||||
self.root.firstChild.remove();
|
||||
self.root.removeChild(self.root.firstChild);
|
||||
|
||||
self.buildSelect(data);
|
||||
self.reloadTree();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue