From da63253145a7b67140a9bb9ea7e154e4316bd686 Mon Sep 17 00:00:00 2001 From: gorhill Date: Thu, 19 Feb 2015 23:25:29 -0500 Subject: [PATCH] this fixes #846 --- src/js/static-net-filtering.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/js/static-net-filtering.js b/src/js/static-net-filtering.js index 758dea9de..54b3b6b6e 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;