Skip to content
This repository has been archived by the owner on Oct 25, 2022. It is now read-only.

Commit

Permalink
fix(filters): Filters not effective
Browse files Browse the repository at this point in the history
  • Loading branch information
oliversalzburg committed May 12, 2022
1 parent 14e89ce commit 6506658
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/userscript/source/UserScript.ts
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ export class UserScript {
): void {
if (this.options.auto.filters.enabled) {
for (const filterItem of Object.values(this.options.auto.filters.items)) {
if (filterItem.enabled && filterItem.variant === args[1]) {
if (filterItem.enabled && filterItem.variant === cssClasses) {
return;
}
}
Expand Down

0 comments on commit 6506658

Please sign in to comment.