From b0108c92233f280f46cb0892ce5e282343f6b8e4 Mon Sep 17 00:00:00 2001 From: gorhill Date: Sun, 1 Mar 2015 19:43:42 -0500 Subject: [PATCH] code review --- src/js/contentscript-end.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/js/contentscript-end.js b/src/js/contentscript-end.js index 076986c0f..d383283ea 100644 --- a/src/js/contentscript-end.js +++ b/src/js/contentscript-end.js @@ -103,7 +103,7 @@ var messager = vAPI.messaging.channel('contentscript-end.js'); var nullArray = { push: function(){} }; var retrieveGenericSelectors = function() { - if ( lowGenericSelectors.length > 0 || highGenerics === null ) { + if ( lowGenericSelectors.length !== 0 || highGenerics === null ) { //console.log('µBlock> ABP cosmetic filters: retrieving CSS rules using %d selectors', lowGenericSelectors.length); messager.send({ what: 'retrieveGenericCosmeticSelectors',