mirror of
https://github.com/gorhill/uBlock.git
synced 2024-11-10 01:02:08 +01:00
Fix deprecated matches-css-after/matches-css-before
This commit is contained in:
parent
92e2b342d4
commit
a24bc50e40
1 changed files with 2 additions and 2 deletions
|
@ -98,14 +98,14 @@ class PSelectorMatchesCSSTask extends PSelectorTask {
|
|||
class PSelectorMatchesCSSAfterTask extends PSelectorMatchesCSSTask {
|
||||
constructor(task) {
|
||||
super(task);
|
||||
this.pseudo = 'after';
|
||||
this.pseudo = '::after';
|
||||
}
|
||||
}
|
||||
|
||||
class PSelectorMatchesCSSBeforeTask extends PSelectorMatchesCSSTask {
|
||||
constructor(task) {
|
||||
super(task);
|
||||
this.pseudo = 'before';
|
||||
this.pseudo = '::before';
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue