]> source.dussan.org Git - jquery.git/commitdiff
jQuery.event.propHooks => this.propHooks where possible
authorRick Waldron <waldron.rick@gmail.com>
Thu, 22 Sep 2011 14:35:18 +0000 (10:35 -0400)
committerRick Waldron <waldron.rick@gmail.com>
Thu, 22 Sep 2011 14:35:18 +0000 (10:35 -0400)
src/event.js

index f60c8e670eadd9aace7cd537367fcb6fd15996f0..7654d6f2731011c4ad83987eb39040103d49413e 100644 (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;