Skip to content

Commit

Permalink
Update finder.js
Browse files Browse the repository at this point in the history
  • Loading branch information
asamuzaK committed Jul 25, 2024
1 parent 27a4243 commit 3bdcf84
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/js/finder.js
Original file line number Diff line number Diff line change
Expand Up @@ -1823,7 +1823,7 @@ export class Finder {
break;
}
case SELECTOR_PSEUDO_CLASS: {
if (/^(?:(?:any-)?link|defined)$/.test(leaf.name)) {
if (/^(?:(?:any-)?link|defined|dir)$/.test(leaf.name)) {
cacheable = false;
}
break;
Expand Down

0 comments on commit 3bdcf84

Please sign in to comment.