diff --git a/src/event.js b/src/event.js index e8da7c8..4bdfc2b 100644 --- a/src/event.js +++ b/src/event.js @@ -18,7 +18,7 @@ Object.extend(Event, { KEY_PAGEDOWN: 34, element: function(event) { - return event.target || event.srcElement; + return $(event.target || event.srcElement); }, isLeftClick: function(event) {