forked from 0x2620/oxjs
Ox.elements -> Ox.
This commit is contained in:
parent
775aa607c8
commit
8e335ba4f6
8 changed files with 21 additions and 21 deletions
|
|
@ -66,10 +66,10 @@
|
|||
Ox.$parent.postMessage('init', {})
|
||||
} else if (message.target) {
|
||||
// The outer window receives init from iframe
|
||||
Ox.elements[message.target].triggerEvent('init');
|
||||
Ox.$elements[message.target].triggerEvent('init');
|
||||
}
|
||||
} else {
|
||||
(message.target ? Ox.elements[message.target] : Ox.$parent)
|
||||
(message.target ? Ox.$elements[message.target] : Ox.$parent)
|
||||
.triggerMessage(message.event, message.data);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue