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*/) ) {
if ( line === '' || line.startsWith('#') ) { continue; }
const fields = line.split(/\s+/);
const remove = fields.length === 2 && fields[1] === 'nofetch';
this.badLists.set(fields[0], remove);
const nofetch = fields.length === 2 && fields[1] === 'nofetch';
this.badLists.set(fields[0], nofetch);
}
}