Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
gorhill authored and hawkeye116477 committed Jun 28, 2020
1 parent f3c6549 commit 75e80c6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/js/static-ext-filtering.js
Original file line number Diff line number Diff line change
Expand Up @@ -376,15 +376,15 @@
return;
}
tasks.push([ operator, args ]);
if ( i === n ) { break; }
opPrefixBeg = i;
if ( i === n ) { break; }
}
// No task found: then we have a CSS selector.
// At least one task found: nothing should be left to parse.
if ( tasks.length === 0 ) {
prefix = raw;
tasks = undefined;
} else if ( i < n ) {
} else if ( opPrefixBeg < n ) {
return;
}
// https://github.com/NanoAdblocker/NanoCore/issues/1#issuecomment-354394894
Expand Down

0 comments on commit 75e80c6

Please sign in to comment.