]> source.dussan.org Git - jquery.git/commitdiff
Removed check to prevent event from being fixed twice. Unfortunately, in IE this...
authorBrandon Aaron <brandon.aaron@gmail.com>
Fri, 21 Dec 2007 02:11:26 +0000 (02:11 +0000)
committerBrandon Aaron <brandon.aaron@gmail.com>
Fri, 21 Dec 2007 02:11:26 +0000 (02:11 +0000)
src/event.js

index cb68c38bbf76cbfb33cf89a1091b1323e023292e..d5be7c5a921712caab3882a1d8e5fc13ea144ddb 100644 (file)
@@ -263,18 +263,11 @@ jQuery.event = {
        },
 
        fix: function(event) {
-               // Short-circuit if the event has already been fixed by jQuery.event.fix
-               if ( event[ expando ] )
-                       return event;
-                       
                // store a copy of the original event object 
                // and clone to set read-only properties
                var originalEvent = event;
                event = jQuery.extend({}, originalEvent);
                
-               // Mark the event as fixed by jQuery.event.fix
-               event[ expando ] = true;
-               
                // add preventDefault and stopPropagation since 
                // they will not work on the clone
                event.preventDefault = function() {