don't return undefined from non-iframe element postMessage method

This commit is contained in:
rolux 2013-12-03 18:14:11 +01:00
parent ead592d063
commit 73b04f384a

View file

@ -406,8 +406,8 @@ Ox.Element = function(options, self) {
that.postMessage = function(event, data) {
if (self.options.element == '<iframe>') {
Ox.Message.post(that, event, data);
return that;
}
return that;
};
/*@