Dealing with iframes. postMessage to parent iframe when certain things are opened/viewed.
This commit is contained in:
@@ -91,6 +91,9 @@ $: lq__archive_content_obj = liveQuery(async () => {
|
||||
|
||||
if (browser) {
|
||||
console.log('Browser environment detected.');
|
||||
|
||||
let message = {'archive_id': $idaa_slct?.archive_id};
|
||||
window.parent.postMessage(message, "*");
|
||||
}
|
||||
</script>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user