cosmetic changes

This commit is contained in:
rolux 2014-09-23 23:56:44 +02:00
parent 5bd0fde709
commit b928795dc7

View file

@ -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]
});
}
});
});