1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-11-01 16:33:06 +01:00

Fix deprecated matches-css-after/matches-css-before

This commit is contained in:
Raymond Hill 2022-08-18 12:04:56 -04:00
parent 92e2b342d4
commit a24bc50e40
No known key found for this signature in database
GPG Key ID: 25E1490B761470C2

View File

@ -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';
}
}