forked from 0x2620/pandora
cosmetic changes
This commit is contained in:
parent
5bd0fde709
commit
b928795dc7
1 changed files with 6 additions and 4 deletions
|
@ -241,10 +241,12 @@ pandora.UI = (function() {
|
|||
triggerEvents && Ox.forEach(trigger, function(val, key) {
|
||||
Ox.Log('UI', 'TRIGGER ', key, val);
|
||||
Ox.forEach(pandora.$ui, function($element) {
|
||||
Ox.UI.isElement($element) && $element.triggerEvent('pandora_' + key.toLowerCase(), {
|
||||
if (Ox.isOxElement($element)) {
|
||||
$element.triggerEvent('pandora_' + key.toLowerCase(), {
|
||||
value: val,
|
||||
previousValue: self.previousUI[key]
|
||||
});
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in a new issue