Fix a strange Chrome issue
This commit is contained in:
parent
fa45f25d1c
commit
52a02383fa
1 changed files with 3 additions and 2 deletions
|
@ -196,7 +196,8 @@ jQuery.each({
|
|||
}
|
||||
}, function( name, fn ) {
|
||||
jQuery.fn[ name ] = function( until, selector ) {
|
||||
var ret = jQuery.map( this, fn, until );
|
||||
var ret = jQuery.map( this, fn, until ),
|
||||
args = slice.call(arguments);
|
||||
|
||||
if ( !runtil.test( name ) ) {
|
||||
selector = until;
|
||||
|
@ -212,7 +213,7 @@ jQuery.each({
|
|||
ret = ret.reverse();
|
||||
}
|
||||
|
||||
return this.pushStack( ret, name, slice.call(arguments).join(",") );
|
||||
return this.pushStack( ret, name, args.join(",") );
|
||||
};
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in a new issue