don't return undefined from non-iframe element postMessage method
This commit is contained in:
parent
ead592d063
commit
73b04f384a
1 changed files with 1 additions and 1 deletions
|
@ -406,8 +406,8 @@ Ox.Element = function(options, self) {
|
||||||
that.postMessage = function(event, data) {
|
that.postMessage = function(event, data) {
|
||||||
if (self.options.element == '<iframe>') {
|
if (self.options.element == '<iframe>') {
|
||||||
Ox.Message.post(that, event, data);
|
Ox.Message.post(that, event, data);
|
||||||
return that;
|
|
||||||
}
|
}
|
||||||
|
return that;
|
||||||
};
|
};
|
||||||
|
|
||||||
/*@
|
/*@
|
||||||
|
|
Loading…
Reference in a new issue