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

This commit is contained in:
Rick Waldron 2011-09-22 10:35:18 -04:00
parent 0aaa1fae83
commit 9ef0394fbd

View File

@ -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;