diff --git a/source/Ox.UI/js/Core/Element.js b/source/Ox.UI/js/Core/Element.js index f13c1ffe..8fb7d823 100644 --- a/source/Ox.UI/js/Core/Element.js +++ b/source/Ox.UI/js/Core/Element.js @@ -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); }); }