From: Rick Waldron Date: Thu, 22 Sep 2011 14:59:29 +0000 (-0400) Subject: Restore this.propHooks => jQuery.event.propHooks for better gzip compression. Thanks... X-Git-Tag: 1.7b1~9^2~2^2~8 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=66202aeae53be1c302922e57f61debd43d6415db;p=jquery.git Restore this.propHooks => jQuery.event.propHooks for better gzip compression. Thanks gnarf --- diff --git a/src/event.js b/src/event.js index 86306d75f..b9da01832 100644 --- a/src/event.js +++ b/src/event.js @@ -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;