mirror of
https://github.com/jparkerweb/plan2code.git
synced 2026-11-17 04:45:33 -08:00
v3-orchestrator
This commit is contained in:
1 parent
7a4b7c6db8
commit
681c4a4b85
27 files changed
+1138
-36
No files matched your search
@@ -66,3 +66,14 @@ connect();
|
||||
setTimeout(() => {
|
||||
if (!wakeHoldsChime) sound("sessionStart");
|
||||
}, 0);
|
||||
|
||||
// Inside the desktop app's frame, tell the app this page drew. A frame the
|
||||
// browser refused (or a server that died) never sends it, which is how the app
|
||||
// tells a blocked page from a slow one. The message carries no data.
|
||||
if (window.parent && window.parent !== window) {
|
||||
try {
|
||||
window.parent.postMessage({ plan2code: "console-ready" }, "*");
|
||||
} catch {
|
||||
/* no parent to tell */
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user