minor change

This commit is contained in:
rolux 2012-06-25 16:32:16 +02:00
parent 679dc34dfa
commit 446f1a0de1

View file

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