1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-09-18 17:02:27 +02:00

code review

This commit is contained in:
gorhill 2015-03-01 19:43:42 -05:00
parent caa1256e70
commit b0108c9223

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',