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:
parent
1fc7dcff11
commit
1764027370
1 changed files with 0 additions and 3 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue