Commit 17640273 authored by David Serduke's avatar David Serduke

Fixed #2080 by removing the check for nodeType != 1. It was put in to limit...

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.
parent 1fc7dcff
...@@ -139,9 +139,6 @@ jQuery.fn.extend({ ...@@ -139,9 +139,6 @@ jQuery.fn.extend({
return queue( this[0], type ); return queue( this[0], type );
return this.each(function(){ return this.each(function(){
if ( this.nodeType != 1)
return;
if ( fn.constructor == Array ) if ( fn.constructor == Array )
queue(this, type, fn); queue(this, type, fn);
else { else {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment