Dealing with iframes. postMessage to parent iframe when certain things are opened/viewed.

This commit is contained in:
Scott Idem
2024-11-15 16:21:37 -05:00
parent 53deb5edcc
commit 6b34b806b2
6 changed files with 16 additions and 1 deletions

View File

@@ -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>