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;