mirror of
https://github.com/gorhill/uBlock.git
synced 2024-11-07 11:22:38 +01:00
Mibor: better variable name
This commit is contained in:
parent
dd655473f6
commit
0e9d4714e9
@ -543,8 +543,8 @@ self.addEventListener('hiddenSettingsChanged', ( ) => {
|
|||||||
for ( const line of badlists.content.split(/\s*[\n\r]+\s*/) ) {
|
for ( const line of badlists.content.split(/\s*[\n\r]+\s*/) ) {
|
||||||
if ( line === '' || line.startsWith('#') ) { continue; }
|
if ( line === '' || line.startsWith('#') ) { continue; }
|
||||||
const fields = line.split(/\s+/);
|
const fields = line.split(/\s+/);
|
||||||
const remove = fields.length === 2 && fields[1] === 'nofetch';
|
const nofetch = fields.length === 2 && fields[1] === 'nofetch';
|
||||||
this.badLists.set(fields[0], remove);
|
this.badLists.set(fields[0], nofetch);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user