Make Event.element extend the returned element. Closes #7870.

This commit is contained in:
Thomas Fuchs 2007-04-17 17:31:20 +00:00
parent 68f3b219e0
commit bbd0e6eb54
1 changed files with 1 additions and 1 deletions

View File

@ -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) {