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

@@ -26,7 +26,7 @@ if ($idaa_slct.post_id) {
}
$: if (browser && $lq__post_obj?.post_id) {
console.log('** Component Mounted: ** View - Post Obj');
document.body.scrollIntoView();
const url = new URL(location);
url.searchParams.set('post_id', $lq__post_obj?.post_id);