From: rwldrn Date: Tue, 5 Apr 2011 20:32:42 +0000 (-0400) Subject: Remove this.type assignment X-Git-Tag: 1.6b1~36^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=refs%2Fpull%2F301%2Fhead;p=jquery.git Remove this.type assignment --- diff --git a/src/event.js b/src/event.js index 7f2e1d8ba..fe1971890 100644 --- a/src/event.js +++ b/src/event.js @@ -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 // by a handler lower down the tree; reflect the correct value. this.isDefaultPrevented = (src.defaultPrevented || src.returnValue === false ||