Skip to content

Commit

Permalink
post message to parent in case of nested iframe
Browse files Browse the repository at this point in the history
  • Loading branch information
pomdtr committed Feb 12, 2024
1 parent 08664d5 commit 816e913
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions website/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
}

if (e.data === "close") {
window.parent.postMessage("close", "*");
window.close();
}
});
Expand Down

0 comments on commit 816e913

Please sign in to comment.