diff --git a/source/Ox.UI/js/Core/History.js b/source/Ox.UI/js/Core/History.js index 998448a0..423d467d 100644 --- a/source/Ox.UI/js/Core/History.js +++ b/source/Ox.UI/js/Core/History.js @@ -27,7 +27,7 @@ Ox.History = function(options) { if (!$element) { $element = Ox.Element(); } - $element.bindEvent.apply(this, arguments); + $element.bindEvent.apply($element, arguments); }, clear: function() { history = []; @@ -54,7 +54,7 @@ Ox.History = function(options) { }, unbindEvent: function() { - $element && $element.unbindEvent.apply(this, arguments); + $element && $element.unbindEvent.apply($element, arguments); }, undo: function() { if (position > 0) {