fix binding

This commit is contained in:
rlx 2014-09-20 12:28:38 +02:00
parent 70e7b5f18c
commit 1150a27a06

View file

@ -38,7 +38,7 @@ Ox.Clipboard = function() {
if (!$element) { if (!$element) {
$element = Ox.Element(); $element = Ox.Element();
} }
$element.bindEvent.apply(this, arguments); $element.bindEvent.apply($element, arguments);
}, },
clear: function() { clear: function() {
clipboard = {items: [], type: void 0}; clipboard = {items: [], type: void 0};
@ -64,7 +64,7 @@ Ox.Clipboard = function() {
return clipboard.type; return clipboard.type;
}, },
unbindEvent: function() { unbindEvent: function() {
$element && $element.unbindEvent.apply(this, arguments); $element && $element.unbindEvent.apply($element, arguments);
} }
}; };
}; };