Merge branch 'bug_7413' of https://github.com/rwldrn/jquery into rwldrn-bug_7413
[jquery.git] / src / core.js
index c11133f..07d5caf 100644 (file)
@@ -215,7 +215,7 @@ jQuery.fn = jQuery.prototype = {
                        this.toArray() :
 
                        // Return just the object
-                       ( num < 0 ? this.slice(num)[ 0 ] : this[ num ] );
+                       ( num < 0 ? this[ this.length + num ] : this[ num ] );
        },
 
        // Take an array of elements and push it onto the stack