mirror of
https://github.com/jquery/jquery.git
synced 2025-01-10 18:24:24 +00:00
Merge pull request #585 from dcherman/master
Replace .bind with .on when building event aliases
This commit is contained in:
commit
68ca9d47a0
@ -1033,7 +1033,7 @@ jQuery.each( ("blur focus focusin focusout load resize scroll unload click dblcl
|
||||
}
|
||||
|
||||
return arguments.length > 0 ?
|
||||
this.bind( name, data, fn ) :
|
||||
this.on( name, null, data, fn ) :
|
||||
this.trigger( name );
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user