This commit is contained in:
velzie 2024-10-17 22:06:13 -04:00
parent 6427be6ba5
commit f50e2e67da
No known key found for this signature in database
GPG key ID: AA51AEFB0A1F3820

View file

@ -86,10 +86,4 @@ export default function (client: ScramjetClient) {
ctx.return(unrewriteCss(v));
},
});
client.Proxy("CSSStyleDeclaration.prototype.setProperty", {
apply(ctx) {
if (!ctx.args[1]) return;
ctx.args[1] = rewriteCss(ctx.args[1], client.meta);
},
});
}