fix binding

This commit is contained in:
rlx 2014-09-20 12:29:27 +02:00
parent aa1f45bef8
commit 94a32476c0

View file

@ -33,7 +33,7 @@ Ox.Request = (function() {
if (!$element) {
$element = Ox.Element();
}
$element.bindEvent.apply(this, arguments);
$element.bindEvent.apply($element, arguments);
},
/*@
@ -216,7 +216,7 @@ Ox.Request = (function() {
unbindEvent <f> Unbind event
@*/
unbindEvent: function() {
$element && $element.unbindEvent.apply(this, arguments);
$element && $element.unbindEvent.apply($element, arguments);
}
};