forked from 0x2620/pandora
post message to parent
This commit is contained in:
parent
a864cc2085
commit
4b440815ed
1 changed files with 3 additions and 1 deletions
|
@ -87,7 +87,9 @@ Ox.load('UI', {
|
|||
position: checkRange
|
||||
} : {}))
|
||||
.bindEvent(function(data, event) {
|
||||
window.postMessage(JSON.stringify({event: event}), '*');
|
||||
if (window.parent) {
|
||||
window.parent.postMessage(JSON.stringify({event: event}), '*');
|
||||
}
|
||||
})
|
||||
);
|
||||
Ox.UI.hideLoadingScreen();
|
||||
|
|
Loading…
Reference in a new issue