Skip to content
Permalink
Browse files

Merge branch 'master' of git@github.com:jquery/jquery

  • Loading branch information
jeresig committed Nov 9, 2009
2 parents d251809 + 9a69b2c commit 4fd730dca797f495e7473cbfc97a7decf40ff24a
Showing with 3 additions and 4 deletions.
  1. +3 −4 src/event.js
@@ -583,26 +583,25 @@ jQuery.each({
blur: "focusout"
}, function( orig, fix ){
var event = jQuery.event,
special = event.special,
handle = event.handle;

function ieHandler() {
arguments[0].type = orig;
return handle.apply(this, arguments);
}

special[orig] = {
event.special[orig] = {
setup:function() {
if ( this.addEventListener )
this.addEventListener( orig, handle, true );
else
jQuery.event.add( this, fix, ieHandler );
event.add( this, fix, ieHandler );
},
teardown:function() {
if ( this.removeEventListener )
this.removeEventListener( orig, handle, true );
else
jQuery.event.remove( this, fix, ieHandler );
event.remove( this, fix, ieHandler );
}
};
});

0 comments on commit 4fd730d

Please sign in to comment.
You can’t perform that action at this time.