From 98af37696f32058b0cd6b50a3e33f5ebd8f97d5f Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Tue, 22 May 2012 16:08:27 +0200 Subject: [PATCH] use Ox.UI.isElement --- static/js/pandora/UI.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/js/pandora/UI.js b/static/js/pandora/UI.js index 0a04ba15..aa7bb9b6 100644 --- a/static/js/pandora/UI.js +++ b/static/js/pandora/UI.js @@ -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] });