don't Ox.extend with undefined, use empty object
This commit is contained in:
parent
047cf5813d
commit
c5b148773f
1 changed files with 1 additions and 1 deletions
|
@ -110,7 +110,7 @@ Ox.Element = function(options, self) {
|
||||||
callback.call(that, Ox.extend({
|
callback.call(that, Ox.extend({
|
||||||
_element: that.$element,
|
_element: that.$element,
|
||||||
_event: event
|
_event: event
|
||||||
}, data));
|
}, data || {}));
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue