Skip to content

Commit

Permalink
jQuery.event.propHooks => this.propHooks where possible
Browse files Browse the repository at this point in the history
  • Loading branch information
rwaldron committed Sep 22, 2011
1 parent 0aaa1fa commit 9ef0394
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/event.js
Expand Up @@ -517,8 +517,8 @@ jQuery.event = {
event.metaKey = event.ctrlKey;
}

if ( jQuery.event.propHooks[ event.type ] ) {
event = jQuery.event.propHooks[ event.type ]( event, originalEvent );
if ( this.propHooks[ event.type ] ) {
event = this.propHooks[ event.type ]( event, originalEvent );
}

return event;
Expand Down

0 comments on commit 9ef0394

Please sign in to comment.