Skip to content
Permalink
Browse files

Fixed some bugs in how .queue() works (it wasn't handling the argumen…

…t order correctly).
  • Loading branch information
jeresig committed Sep 14, 2007
1 parent 500ff12 commit 41590d37e109453ae58b38d4889031f4130e7f64
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/fx.js
@@ -129,12 +129,12 @@ jQuery.fn.extend({
},

queue: function(type, fn){
if ( !fn ) {
if ( jQuery.isFunction(type) ) {
fn = type;
type = "fx";
}

if ( !arguments.length )
if ( !type || typeof type == "string" )
return queue( this[0], type );

return this.each(function(){

0 comments on commit 41590d3

Please sign in to comment.
You can’t perform that action at this time.