Merge branch 'ticket_7883' of https://github.com/rwldrn/jquery into rwldrn-ticket_7883
This commit is contained in:
commit
b5c7c507c1
2 changed files with 45 additions and 1 deletions
|
@ -1027,10 +1027,15 @@ jQuery.each(["live", "die"], function( i, name ) {
|
|||
return this;
|
||||
}
|
||||
|
||||
if ( jQuery.isFunction( data ) ) {
|
||||
if ( jQuery.isFunction( data ) || data === false ) {
|
||||
fn = data;
|
||||
data = undefined;
|
||||
}
|
||||
|
||||
if ( fn === false ) {
|
||||
fn = returnFalse;
|
||||
}
|
||||
|
||||
|
||||
types = (types || "").split(" ");
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue