fix a bug in unbindEvent

This commit is contained in:
rolux 2012-06-04 14:07:35 +02:00
parent 7582a795ee
commit df3a0c1c49

View file

@ -501,7 +501,7 @@ Ox.Element = function(options, self) {
return fn !== callback;
});
} else {
Ox.makeObject(arguments).forEach(function(callback, event) {
Ox.forEach(Ox.makeObject(arguments), function(callback, event) {
self.$eventHandler.off('ox_' + event, callback);
});
}