diff options
author | gorhill <rhill@raymondhill.net> | 2015-02-19 23:25:29 -0500 |
---|---|---|
committer | gorhill <rhill@raymondhill.net> | 2015-02-19 23:25:29 -0500 |
commit | da63253145a7b67140a9bb9ea7e154e4316bd686 (patch) | |
tree | 10293d3e6d2301df7d057e133158da358c24f898 /src/js/static-net-filtering.js | |
parent | ac85a7c97927f9fc5edccd6bf968937448537565 (diff) | |
download | uBlock-da63253145a7b67140a9bb9ea7e154e4316bd686.zip uBlock-da63253145a7b67140a9bb9ea7e154e4316bd686.tar.gz uBlock-da63253145a7b67140a9bb9ea7e154e4316bd686.tar.bz2 |
this fixes #846
Diffstat (limited to 'src/js/static-net-filtering.js')
-rw-r--r-- | src/js/static-net-filtering.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/js/static-net-filtering.js b/src/js/static-net-filtering.js index 758dea9..54b3b6b 100644 --- a/src/js/static-net-filtering.js +++ b/src/js/static-net-filtering.js @@ -1016,7 +1016,7 @@ FilterHostnameDict.prototype.matchesExactly = function(hn) { return false; } if ( typeof bucket === 'object' ) { - return bucket.hasOwnProperty(hn) !== undefined; + return bucket.hasOwnProperty(hn); } if ( bucket.charAt(0) === ' ' ) { return bucket.indexOf(' ' + hn + ' ') !== -1; |