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) {
|
triggerEvents && Ox.forEach(trigger, function(val, key) {
|
||||||
Ox.Log('UI', 'TRIGGER ', key, val);
|
Ox.Log('UI', 'TRIGGER ', key, val);
|
||||||
Ox.forEach(pandora.$ui, function($element) {
|
Ox.forEach(pandora.$ui, function($element) {
|
||||||
Ox.UI.isElement($element) && $element.triggerEvent('pandora_' + key.toLowerCase(), {
|
if (Ox.isOxElement($element)) {
|
||||||
value: val,
|
$element.triggerEvent('pandora_' + key.toLowerCase(), {
|
||||||
previousValue: self.previousUI[key]
|
value: val,
|
||||||
});
|
previousValue: self.previousUI[key]
|
||||||
|
});
|
||||||
|
}
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue