jQuery: The Write Less, Do More JavaScript Library

Changeset 4283

Show
Ignore:
Timestamp:
12/20/07 18:55:43 (8 months ago)
Author:
davidserduke
Message:

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.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/jquery/src/fx.js

    r4171 r4283  
    140140 
    141141        return this.each(function(){ 
    142             if ( this.nodeType != 1) 
    143                 return; 
    144  
    145142            if ( fn.constructor == Array ) 
    146143                queue(this, type, fn);