mirror of
https://github.com/jquery/jquery.git
synced 2026-04-20 03:01:22 -04:00
Merge branch 'ticket_7883' of https://github.com/rwldrn/jquery into rwldrn-ticket_7883
This commit is contained in:
@@ -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(" ");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user