Skip to content

Commit 45cde63

Browse files
committed
puterParent on globalThis instead of window
1 parent 3fec2ed commit 45cde63

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/puter-js/src/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -790,7 +790,7 @@ puter.tools = [];
790790
* @type {{messageTarget: Window}}
791791
*/
792792
const puterParent = puter.ui.parentApp();
793-
window.puterParent = puterParent;
793+
globalThis.puterParent = puterParent;
794794
if (puterParent) {
795795
console.log("I have a parent, registering tools")
796796
puterParent.on('message', async (event) => {

0 commit comments

Comments
 (0)