aboutsummaryrefslogtreecommitdiff
path: root/src/shared
diff options
context:
space:
mode:
Diffstat (limited to 'src/shared')
-rw-r--r--src/shared/settings/Blacklist.ts5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/shared/settings/Blacklist.ts b/src/shared/settings/Blacklist.ts
index 6e6b51c..6c54d73 100644
--- a/src/shared/settings/Blacklist.ts
+++ b/src/shared/settings/Blacklist.ts
@@ -55,12 +55,9 @@ export class BlacklistItem {
}
includeKey(url: URL, key: Key): boolean {
- if (!this.matches(url)) {
+ if (!this.matches(url) || !this.partial) {
return false;
}
- if (!this.partial) {
- return true;
- }
return this.keyEntities.some(k => k.equals(key));
}
}