From 446f1a0de140a33a3e151b5f1990457648e24d41 Mon Sep 17 00:00:00 2001 From: rolux Date: Mon, 25 Jun 2012 16:32:16 +0200 Subject: [PATCH] minor change --- source/Ox.UI/js/Core/Element.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/Ox.UI/js/Core/Element.js b/source/Ox.UI/js/Core/Element.js index 038b3c0c..d158fd6d 100644 --- a/source/Ox.UI/js/Core/Element.js +++ b/source/Ox.UI/js/Core/Element.js @@ -525,7 +525,7 @@ Ox.Element = function(options, self) { @*/ that.update = function() { var callbacks; - if (Ox.typeOf(arguments[0]) == 'function') { + if (Ox.isFunction(arguments[0])) { self.updateCallbacks.push(arguments[0]); } else { callbacks = Ox.makeObject(arguments);