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 96e4006b74d03319af86b9ed27f7235ee2f8fe6c
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core.js
@@ -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.
You can’t perform that action at this time.