Skip to content
Permalink
Browse files

Restore this.propHooks => jQuery.event.propHooks for better gzip comp…

…ression. Thanks gnarf
  • Loading branch information...
rwaldron committed Sep 22, 2011
1 parent 2c903b8 commit 66202aeae53be1c302922e57f61debd43d6415db
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/event.js
@@ -510,8 +510,8 @@ jQuery.event = {
event.relatedTarget = event.fromElement === event.target ? event.toElement : event.fromElement;
}

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

return event;

0 comments on commit 66202ae

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