From 1150a27a06346c944a1c09e4511b29f8ba125263 Mon Sep 17 00:00:00 2001 From: rlx <0x0073@0x2620.org> Date: Sat, 20 Sep 2014 12:28:38 +0200 Subject: [PATCH] fix binding --- source/Ox.UI/js/Core/Clipboard.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/Ox.UI/js/Core/Clipboard.js b/source/Ox.UI/js/Core/Clipboard.js index a3c9e95a..99f26706 100644 --- a/source/Ox.UI/js/Core/Clipboard.js +++ b/source/Ox.UI/js/Core/Clipboard.js @@ -38,7 +38,7 @@ Ox.Clipboard = function() { if (!$element) { $element = Ox.Element(); } - $element.bindEvent.apply(this, arguments); + $element.bindEvent.apply($element, arguments); }, clear: function() { clipboard = {items: [], type: void 0}; @@ -64,7 +64,7 @@ Ox.Clipboard = function() { return clipboard.type; }, unbindEvent: function() { - $element && $element.unbindEvent.apply(this, arguments); + $element && $element.unbindEvent.apply($element, arguments); } }; };