Commit 96e4006b authored by Ariel Flesler's avatar Ariel Flesler

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

parent 18d3e759
...@@ -441,7 +441,7 @@ jQuery.fn = jQuery.prototype = { ...@@ -441,7 +441,7 @@ jQuery.fn = jQuery.prototype = {
}, },
eq: function( i ) { eq: function( i ) {
return this.slice( i, i + 1 ); return this.slice( i, +i + 1 );
}, },
slice: function() { slice: function() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment