minor change
This commit is contained in:
parent
679dc34dfa
commit
446f1a0de1
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue