code review

This commit is contained in:
gorhill 2015-03-01 19:43:42 -05:00
parent caa1256e70
commit b0108c9223
1 changed files with 1 additions and 1 deletions

View File

@ -103,7 +103,7 @@ var messager = vAPI.messaging.channel('contentscript-end.js');
var nullArray = { push: function(){} }; var nullArray = { push: function(){} };
var retrieveGenericSelectors = 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); //console.log('µBlock> ABP cosmetic filters: retrieving CSS rules using %d selectors', lowGenericSelectors.length);
messager.send({ messager.send({
what: 'retrieveGenericCosmeticSelectors', what: 'retrieveGenericCosmeticSelectors',