fix a bug in unbindEvent
This commit is contained in:
parent
7582a795ee
commit
df3a0c1c49
1 changed files with 1 additions and 1 deletions
|
@ -501,7 +501,7 @@ Ox.Element = function(options, self) {
|
||||||
return fn !== callback;
|
return fn !== callback;
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
Ox.makeObject(arguments).forEach(function(callback, event) {
|
Ox.forEach(Ox.makeObject(arguments), function(callback, event) {
|
||||||
self.$eventHandler.off('ox_' + event, callback);
|
self.$eventHandler.off('ox_' + event, callback);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue