1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-09-14 23:12:28 +02:00

fix regression re. badfilter option

This commit is contained in:
gorhill 2017-05-16 20:03:02 -04:00
parent da71918112
commit ca32a693df
No known key found for this signature in database
GPG Key ID: 25E1490B761470C2

View File

@ -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;