aboutsummaryrefslogtreecommitdiffstats
path: root/src/js/static-net-filtering.js
diff options
context:
space:
mode:
authorgorhill <rhill@raymondhill.net>2015-02-19 23:25:29 -0500
committergorhill <rhill@raymondhill.net>2015-02-19 23:25:29 -0500
commitda63253145a7b67140a9bb9ea7e154e4316bd686 (patch)
tree10293d3e6d2301df7d057e133158da358c24f898 /src/js/static-net-filtering.js
parentac85a7c97927f9fc5edccd6bf968937448537565 (diff)
downloaduBlock-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.js2
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;