Commit e828d18c authored by timmywil's avatar timmywil

Minor fix in events; undeclared var from last commit

parent cec0d0d4
......@@ -528,14 +528,14 @@ jQuery.event = {
}
// Create a writable copy of the event object and normalize some properties
var originalEvent = event,
var i, prop,
originalEvent = event,
fixHook = jQuery.event.fixHooks[ event.type ] || {},
copy = fixHook.props ? this.props.concat( fixHook.props ) : this.props,
i;
copy = fixHook.props ? this.props.concat( fixHook.props ) : this.props;
event = jQuery.Event( originalEvent );
for ( i = copy.length, prop; i; ) {
for ( i = copy.length; i; ) {
prop = copy[ --i ];
event[ prop ] = originalEvent[ prop ];
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment