use Ox.UI.isElement
This commit is contained in:
parent
5a37541299
commit
98af37696f
1 changed files with 1 additions and 1 deletions
|
@ -177,7 +177,7 @@ pandora.UI = (function() {
|
|||
Ox.len(set) && pandora.api.setUI(set);
|
||||
triggerEvents && Ox.forEach(trigger, function(val, key) {
|
||||
Ox.forEach(pandora.$ui, function(element) {
|
||||
element.ox && element.triggerEvent('pandora_' + key.toLowerCase(), {
|
||||
Ox.UI.isElement(element) && element.triggerEvent('pandora_' + key.toLowerCase(), {
|
||||
value: val,
|
||||
previousValue: self.previousUI[key]
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue