Remove this.type assignment

This commit is contained in:
rwldrn 2011-04-05 16:32:42 -04:00
parent b1b2e83394
commit 92a4d59c32

View file

@ -590,10 +590,6 @@ jQuery.Event = function( src ) {
} }
} }
if ( !this.type ) {
this.type = src.type;
}
// Events bubbling up the document may have been marked as prevented // Events bubbling up the document may have been marked as prevented
// by a handler lower down the tree; reflect the correct value. // by a handler lower down the tree; reflect the correct value.
this.isDefaultPrevented = (src.defaultPrevented || src.returnValue === false || this.isDefaultPrevented = (src.defaultPrevented || src.returnValue === false ||