mirror of
https://github.com/gorhill/uBlock.git
synced 2026-03-11 09:04:36 +00:00
Fix regression breaking :remove()
Related commit/feedback:
- 152120bd9e (commitcomment-66516398)
This commit is contained in:
parent
301b963eff
commit
2177d8163e
1 changed files with 1 additions and 2 deletions
|
|
@ -334,7 +334,7 @@ class PSelector {
|
|||
]);
|
||||
}
|
||||
this.raw = o.raw;
|
||||
this.selector = ':root > :root';
|
||||
this.selector = o.selector;
|
||||
this.tasks = [];
|
||||
const tasks = [];
|
||||
if ( Array.isArray(o.tasks) === false ) { return; }
|
||||
|
|
@ -344,7 +344,6 @@ class PSelector {
|
|||
tasks.push(new ctor(task));
|
||||
}
|
||||
// Initialize only after all tasks have been successfully instantiated
|
||||
this.selector = o.selector;
|
||||
this.tasks = tasks;
|
||||
}
|
||||
prime(input) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue