]> source.dussan.org Git - jquery.git/commitdiff
Removing extra arg.
authorjeresig <jeresig@gmail.com>
Mon, 20 Sep 2010 14:41:58 +0000 (10:41 -0400)
committerjeresig <jeresig@gmail.com>
Mon, 20 Sep 2010 14:41:58 +0000 (10:41 -0400)
src/queue.js

index 11c658f5dad96bf49b8519e933bf7755cb61bc88..23d43606f1d7cf8628bfd457d0ae9c89c1a771cc 100644 (file)
@@ -58,7 +58,7 @@ jQuery.fn.extend({
                if ( data === undefined ) {
                        return jQuery.queue( this[0], type );
                }
-               return this.each(function( i, elem ) {
+               return this.each(function( i ) {
                        var queue = jQuery.queue( this, type, data );
 
                        if ( type === "fx" && queue[0] !== "inprogress" ) {