fix: misc bugs

This commit is contained in:
Percs 2024-11-26 23:10:44 -06:00
parent 58fed66f78
commit ca3e09af8e
8 changed files with 20 additions and 28 deletions

View file

@ -320,8 +320,8 @@ export default function (client: ScramjetClient, self: typeof window) {
],
{
apply(ctx) {
const document = ctx.call();
if (document) {
const doc = ctx.call();
if (doc) {
ctx.return(ctx.this.contentDocument);
}
},