mirror of https://github.com/gorhill/uBlock.git
no need for if there
This commit is contained in:
parent
2e4b96157c
commit
048711509b
|
@ -57,7 +57,6 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
// Remove from exception list
|
// Remove from exception list
|
||||||
if ( newState ) {
|
|
||||||
var hostnames = this.URI.allHostnamesFromHostname(hostname);
|
var hostnames = this.URI.allHostnamesFromHostname(hostname);
|
||||||
while ( hostname = hostnames.shift() ) {
|
while ( hostname = hostnames.shift() ) {
|
||||||
if ( netExceptionList[hostname] !== undefined ) {
|
if ( netExceptionList[hostname] !== undefined ) {
|
||||||
|
@ -66,7 +65,6 @@
|
||||||
}
|
}
|
||||||
this.saveExceptionList();
|
this.saveExceptionList();
|
||||||
return false;
|
return false;
|
||||||
}
|
|
||||||
};
|
};
|
||||||
|
|
||||||
/******************************************************************************/
|
/******************************************************************************/
|
||||||
|
|
Loading…
Reference in New Issue