mirror of
https://github.com/MercuryWorkshop/scramjet.git
synced 2025-05-16 23:50:02 -04:00
fix: misc bugs
This commit is contained in:
parent
58fed66f78
commit
ca3e09af8e
8 changed files with 20 additions and 28 deletions
|
@ -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);
|
||||
}
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue