1
0
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:
Raymond Hill 2020-08-24 12:40:36 -04:00
parent dd655473f6
commit 0e9d4714e9
No known key found for this signature in database
GPG Key ID: 25E1490B761470C2

View File

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