mirror of
https://github.com/jquery/jquery.git
synced 2026-02-07 19:14:55 -05:00
Remove moot second argument from slice.call()
The zeroes were added to fix http://bugs.jquery.com/ticket/4942 but those browsers are no longer supported.
This commit is contained in:
committed by
Dave Methvin
parent
22ad8723ce
commit
d5ee856a44
@@ -200,7 +200,7 @@ jQuery.fn = jQuery.prototype = {
|
||||
},
|
||||
|
||||
toArray: function() {
|
||||
return slice.call( this, 0 );
|
||||
return slice.call( this );
|
||||
},
|
||||
|
||||
// Get the Nth element in the matched element set OR
|
||||
|
||||
Reference in New Issue
Block a user