diff --git a/js/ublock.js b/js/ublock.js index cab1a6233..940c6c58f 100644 --- a/js/ublock.js +++ b/js/ublock.js @@ -57,16 +57,14 @@ } // Remove from exception list - if ( newState ) { - var hostnames = this.URI.allHostnamesFromHostname(hostname); - while ( hostname = hostnames.shift() ) { - if ( netExceptionList[hostname] !== undefined ) { - delete netExceptionList[hostname]; - } + var hostnames = this.URI.allHostnamesFromHostname(hostname); + while ( hostname = hostnames.shift() ) { + if ( netExceptionList[hostname] !== undefined ) { + delete netExceptionList[hostname]; } - this.saveExceptionList(); - return false; } + this.saveExceptionList(); + return false; }; /******************************************************************************/