WebUI: Use native function for selecting elements by ID

This commit is contained in:
skomerko
2025-04-12 11:57:27 +02:00
parent 7b3aa51bb1
commit 411ca0f668
48 changed files with 1303 additions and 1303 deletions

View File

@@ -251,7 +251,7 @@ window.qBittorrent.PiecesBar ??= (() => {
}
const checkForParent = (id) => {
const obj = $(id);
const obj = document.getElementById(id);
if (!obj)
return;
if (!obj.parentNode)