only post if target exists
This commit is contained in:
parent
4189c740b5
commit
f8b218ec59
1 changed files with 1 additions and 1 deletions
|
@ -438,7 +438,7 @@
|
||||||
Ox.forEach(
|
Ox.forEach(
|
||||||
Ox.makeObject(Ox.slice(arguments)),
|
Ox.makeObject(Ox.slice(arguments)),
|
||||||
function(data, event) {
|
function(data, event) {
|
||||||
target.postMessage(JSON.stringify({
|
target && target.postMessage(JSON.stringify({
|
||||||
data: data,
|
data: data,
|
||||||
event: event,
|
event: event,
|
||||||
target: isParent ? Ox.oxid : null
|
target: isParent ? Ox.oxid : null
|
||||||
|
|
Loading…
Reference in a new issue