]> source.dussan.org Git - jquery.git/commitdiff
Restore this.propHooks => jQuery.event.propHooks for better gzip compression. Thanks...
authorRick Waldron <waldron.rick@gmail.com>
Thu, 22 Sep 2011 14:59:29 +0000 (10:59 -0400)
committerRick Waldron <waldron.rick@gmail.com>
Thu, 22 Sep 2011 14:59:29 +0000 (10:59 -0400)
src/event.js

index 86306d75f79fab8fdc781f80386437af2f06e1cc..b9da0183280e1021f6fbb0fa40828e9172e42f51 100644 (file)
@@ -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;