]> source.dussan.org Git - jquery.git/commitdiff
Remove this.type assignment 301/head
authorrwldrn <waldron.rick@gmail.com>
Tue, 5 Apr 2011 20:32:42 +0000 (16:32 -0400)
committerrwldrn <waldron.rick@gmail.com>
Tue, 5 Apr 2011 20:32:42 +0000 (16:32 -0400)
src/event.js

index 7f2e1d8ba7c17111781fd881bbd717b20483be03..fe19718906281e239f4189fe9aeff98d9b9fb241 100644 (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
                // by a handler lower down the tree; reflect the correct value.
                this.isDefaultPrevented = (src.defaultPrevented || src.returnValue === false ||