1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-07-08 12:57:57 +02:00

Minor code review of last commit

Related commit:
https://github.com/gorhill/uBlock/commit/2b16a10b82
This commit is contained in:
Raymond Hill 2024-02-29 08:37:44 -05:00
parent 2b16a10b82
commit ba95d2bc49
No known key found for this signature in database
GPG Key ID: 25E1490B761470C2

View File

@ -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;
}
}