From 66202aeae53be1c302922e57f61debd43d6415db Mon Sep 17 00:00:00 2001 From: Rick Waldron Date: Thu, 22 Sep 2011 10:59:29 -0400 Subject: [PATCH] Restore this.propHooks => jQuery.event.propHooks for better gzip compression. Thanks gnarf --- src/event.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; -- 2.39.5