1
0
forked from mirror/misskey

Update post-message.ts

This commit is contained in:
syuilo 2024-08-26 11:34:42 +09:00
parent 4ecb3526a2
commit 28fc875054

View File

@ -18,7 +18,7 @@ export type MiPostMessageEvent = {
*
*/
export function postMessageToParentWindow(type: PostMessageEventType, payload?: any): void {
window.postMessage({
window.parent.postMessage({
type,
payload,
}, '*');