mirror of
https://github.com/MercuryWorkshop/scramjet.git
synced 2025-05-14 06:50:01 -04:00
dumb regression
This commit is contained in:
parent
c38ba1c9b4
commit
ac5b03736a
3 changed files with 9 additions and 7 deletions
|
@ -124,7 +124,7 @@ export default function (client: ScramjetClient, self: typeof window) {
|
|||
const realwin = ctx.get() as Window;
|
||||
|
||||
if (ScramjetClient.SCRAMJET in realwin.self) {
|
||||
return realwin.self[ScramjetClient.SCRAMJET].windowProxy;
|
||||
return realwin.self[ScramjetClient.SCRAMJET].globalProxy.window;
|
||||
} else {
|
||||
// hook the iframe
|
||||
const newclient = new ScramjetClient(realwin.self);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue