jquery core: closes #3102, #3051. $.fn.eq() accepts a stringified integer.

This commit is contained in:
Ariel Flesler 2008-06-30 16:17:44 +00:00
parent 18d3e75945
commit 96e4006b74

View file

@ -441,7 +441,7 @@ jQuery.fn = jQuery.prototype = {
},
eq: function( i ) {
return this.slice( i, i + 1 );
return this.slice( i, +i + 1 );
},
slice: function() {