From ca32a693df510fb1018ecde2e8a2412f622aab3c Mon Sep 17 00:00:00 2001 From: gorhill Date: Tue, 16 May 2017 20:03:02 -0400 Subject: [PATCH] fix regression re. badfilter option --- src/js/static-net-filtering.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/js/static-net-filtering.js b/src/js/static-net-filtering.js index 98c88e810..401f98c43 100644 --- a/src/js/static-net-filtering.js +++ b/src/js/static-net-filtering.js @@ -2240,8 +2240,7 @@ FilterContainer.prototype.removeBadFilters = function() { hash, token, fdata, bucket, entry, i = lines.length; while ( i-- ) { - fieldIter.first(lines[i]); - hash = importMapKey(fieldIter.next()); + hash = importMapKey(fieldIter.first(lines[i])); bucket = this.categories.get(hash); if ( bucket === undefined ) { continue;