refac
This commit is contained in:
1 parent
f0829ba6e6
commit
ccd3295a5d
2 files changed
+8
-3
No files matched your search
@@ -51,6 +51,11 @@
|
||||
}
|
||||
};
|
||||
|
||||
// Watch for modal visibility changes to notify opener
|
||||
$: if (show && window.opener) {
|
||||
window.opener.postMessage('loaded', '*');
|
||||
}
|
||||
|
||||
onMount(() => {
|
||||
window.addEventListener('message', handleMessage);
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user