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 11c658f..23d4360 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" ) {