Skip to content
Permalink
Browse files
jquery core: closes #3102, #3051. $.fn.eq() accepts a stringified int…
…eger.
  • Loading branch information
flesler committed Jun 30, 2008
1 parent 18d3e75 commit 96e4006
Showing 1 changed file with 1 addition and 1 deletion.
@@ -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() {

0 comments on commit 96e4006

Please sign in to comment.