mirror of
https://github.com/MercuryWorkshop/scramjet.git
synced 2025-05-14 06:50:01 -04:00
oops
This commit is contained in:
parent
2b5ac7a152
commit
3a7a7e95a5
1 changed files with 1 additions and 1 deletions
|
@ -32,7 +32,7 @@ if (!(SCRAMJETCLIENT in <Partial<typeof self>>self)) {
|
||||||
|
|
||||||
const ev = new ScramjetContextInit("contextInit");
|
const ev = new ScramjetContextInit("contextInit");
|
||||||
ev.window = client.global.window;
|
ev.window = client.global.window;
|
||||||
client.frame.dispatchEvent(ev);
|
client.frame?.dispatchEvent(ev);
|
||||||
}
|
}
|
||||||
|
|
||||||
if ("document" in self && document.currentScript) {
|
if ("document" in self && document.currentScript) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue