forked from mirror/misskey
Update post-message.ts
This commit is contained in:
parent
4ecb3526a2
commit
28fc875054
@ -18,7 +18,7 @@ export type MiPostMessageEvent = {
|
||||
* 親フレームにイベントを送信
|
||||
*/
|
||||
export function postMessageToParentWindow(type: PostMessageEventType, payload?: any): void {
|
||||
window.postMessage({
|
||||
window.parent.postMessage({
|
||||
type,
|
||||
payload,
|
||||
}, '*');
|
||||
|
Loading…
Reference in New Issue
Block a user