[SSE mobile] refactoring

This commit is contained in:
Maxim Kadushkin 2017-01-23 14:34:23 +03:00
parent 4de7a13fc5
commit 46559ae2fb

View file

@ -100,7 +100,7 @@ if (Common === undefined) {
var _postMessage = function(msg) {
// TODO: specify explicit origin
if (window.parent && window.JSON) {
msg.frameEditorId = window.frameEditorId;
msg.frameEditorId = window.frameEditorId;
window.parent.postMessage(window.JSON.stringify(msg), "*");
}
};