diff options
author | Rick Waldron <waldron.rick@gmail.com> | 2011-09-22 19:05:06 -0400 |
---|---|---|
committer | Rick Waldron <waldron.rick@gmail.com> | 2011-09-22 19:05:06 -0400 |
commit | c7f3b6109eabd32ade5085ef81ec2208964122cd (patch) | |
tree | ff723fc1086cd296f9c96726659f89af9bdb8ad4 | |
parent | 14cb04dc947cd9d01c97ec0c4dc487f2cd53c3ac (diff) | |
download | jquery-c7f3b6109eabd32ade5085ef81ec2208964122cd.tar.gz jquery-c7f3b6109eabd32ade5085ef81ec2208964122cd.zip |
Removes early return loop, must copy properties
-rw-r--r-- | src/event.js | 5 |
1 files changed, 0 insertions, 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 ]; |