Fixed #2080 by removing the check for nodeType != 1. It was put in to limit the queuing to just dom objects (ie not text nodes and comment nodes), but the queuing functionality is being used more broadly than I realized so the check is now removed.

This commit is contained in:
David Serduke 2007-12-20 18:55:43 +00:00
parent 1fc7dcff11
commit 1764027370

View File

@ -139,9 +139,6 @@ jQuery.fn.extend({
return queue( this[0], type );
return this.each(function(){
if ( this.nodeType != 1)
return;
if ( fn.constructor == Array )
queue(this, type, fn);
else {