mirror of
https://github.com/gorhill/uBlock.git
synced 2026-03-11 09:04:36 +00:00
Minor test to avoid code path
This commit is contained in:
parent
c299d39117
commit
fd3a8720e9
1 changed files with 1 additions and 1 deletions
|
|
@ -249,7 +249,7 @@ export async function readFilteringModeDetails(bypassCache = false) {
|
|||
applyFilteringMode(userModes, 'all-urls', adminDefaultFilteringMode);
|
||||
}
|
||||
}
|
||||
if ( Array.isArray(adminNoFiltering) ) {
|
||||
if ( Array.isArray(adminNoFiltering) && adminNoFiltering.length !== 0 ) {
|
||||
if ( adminNoFiltering.includes('-*') ) {
|
||||
userModes.none.clear();
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue