mirror of
https://github.com/jquery/jquery.git
synced 2025-01-10 18:24:24 +00:00
jQuery.event.propHooks => this.propHooks where possible
This commit is contained in:
parent
0aaa1fae83
commit
9ef0394fbd
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user