Skip to content
Permalink
Browse files

jQuery.event.propHooks => this.propHooks where possible

  • Loading branch information...
rwaldron committed Sep 22, 2011
1 parent 0aaa1fa commit 9ef0394fbdec99c6addb14b0127abfb813508ffe
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/event.js
@@ -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;

0 comments on commit 9ef0394

Please sign in to comment.
You can’t perform that action at this time.