mirror of
https://github.com/jquery/jquery.git
synced 2025-01-10 18:24:24 +00:00
Restore this.propHooks => jQuery.event.propHooks for better gzip compression. Thanks gnarf
This commit is contained in:
parent
2c903b805c
commit
66202aeae5
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user