From c7f3b6109eabd32ade5085ef81ec2208964122cd Mon Sep 17 00:00:00 2001 From: Rick Waldron Date: Thu, 22 Sep 2011 19:05:06 -0400 Subject: [PATCH] Removes early return loop, must copy properties --- src/event.js | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/event.js b/src/event.js index fec3e6d49..38ed3ae91 100644 --- a/src/event.js +++ b/src/event.js @@ -492,11 +492,6 @@ jQuery.event = { event = jQuery.Event( originalEvent ); propHook = jQuery.event.propHooks[ event.type ]; - // Determine if an early return is possible - if ( !propHook && ( event.target && event.target.nodeType !== 3 ) && event.relatedTarget ) { - return event; - } - for ( var i = this.props.length, prop; i; ) { prop = this.props[ --i ]; event[ prop ] = originalEvent[ prop ]; -- 2.39.5