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) {
$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);
}
};
};