mirror of
https://github.com/jquery/jquery.git
synced 2024-11-23 02:54:22 +00:00
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
@ -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 {
|
||||||
|
Loading…
Reference in New Issue
Block a user