diff --git a/static/js/embed/pandora.js b/static/js/embed/pandora.js index 338f70e3..0c7256c3 100755 --- a/static/js/embed/pandora.js +++ b/static/js/embed/pandora.js @@ -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();