mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-12 08:16:16 -07:00
Fix typos
This commit is contained in:
parent
fe0fb3a251
commit
80d1c48f0d
4 changed files with 11 additions and 11 deletions
|
@ -401,12 +401,12 @@ window.addEvent('load', function() {
|
|||
const categoryList = $('categoryFilterList');
|
||||
if (!categoryList)
|
||||
return;
|
||||
const childrens = categoryList.childNodes;
|
||||
for (let i = 0; i < childrens.length; ++i) {
|
||||
if (childrens[i].id == selected_category)
|
||||
childrens[i].className = "selectedFilter";
|
||||
const children = categoryList.childNodes;
|
||||
for (let i = 0; i < children.length; ++i) {
|
||||
if (children[i].id == selected_category)
|
||||
children[i].className = "selectedFilter";
|
||||
else
|
||||
childrens[i].className = "";
|
||||
children[i].className = "";
|
||||
}
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue