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.makeObject(Ox.slice(arguments)),
|
||||
function(data, event) {
|
||||
target.postMessage(JSON.stringify({
|
||||
target && target.postMessage(JSON.stringify({
|
||||
data: data,
|
||||
event: event,
|
||||
target: isParent ? Ox.oxid : null
|
||||
|
|
Loading…
Reference in a new issue