From 59abd062ef9cde8e013d690f8133ff3717c1fc53 Mon Sep 17 00:00:00 2001 From: gorhill Date: Fri, 19 Dec 2014 14:06:55 -0500 Subject: [PATCH] #423: code review (oops) --- src/js/cosmetic-filtering.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/js/cosmetic-filtering.js b/src/js/cosmetic-filtering.js index 5435dd519..34508af55 100644 --- a/src/js/cosmetic-filtering.js +++ b/src/js/cosmetic-filtering.js @@ -969,7 +969,7 @@ FilterContainer.prototype.pruneSelectorCache = function() { /******************************************************************************/ FilterContainer.prototype.retrieveGenericSelectors = function(request) { - if ( this.acceptedCount !== 0 ) { + if ( this.acceptedCount === 0 ) { return; } if ( !request.selectors ) {