mirror of https://github.com/gorhill/uBlock.git
Minor code review of last commit
Related commit: https://github.com/gorhill/uBlock/commit/2b16a10b82
This commit is contained in:
parent
2b16a10b82
commit
ba95d2bc49
|
@ -547,10 +547,9 @@ const selectFilterLists = async ( ) => {
|
|||
after.push(line);
|
||||
continue;
|
||||
}
|
||||
const input = qs$(`[data-key="${list.group}"] [data-key="${listkey}"] > .detailbar input`);
|
||||
if ( input === null ) { break; }
|
||||
input.checked = true;
|
||||
toggleFilterList(input, true, true);
|
||||
const listEntry = qs$(`[data-key="${list.group}"] [data-key="${listkey}"]`);
|
||||
if ( listEntry === null ) { break; }
|
||||
toggleFilterList(listEntry, true);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue