From: David Serduke Date: Thu, 20 Dec 2007 18:55:43 +0000 (+0000) Subject: Fixed #2080 by removing the check for nodeType != 1. It was put in to limit the... X-Git-Url: http://git.asbjorn.it/?a=commitdiff_plain;h=17640273705d1450b806bb5c8e71c2849d864a37;p=jquery.git 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. --- diff --git a/src/fx.js b/src/fx.js index fb564f0..b4606a8 100644 --- a/src/fx.js +++ b/src/fx.js @@ -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 {