.ready() and jQuery.readyList

.ready() and jQuery.readyList


Hi,
Like Giulio (http://groups.google.com/group/jquery-dev/browse_thread/
thread/c713fa86d4a28785) after some googling and debugging, I found
one bug. (jQuery 1.2.6)
When I load a form via .load() and loaded html has script that use $
(document).ready(), IE 6 and 7 fired error on line 2294:
jQuery.readyList.push( function() { return fn.call(this, jQuery); } );
But jQuery.readyList already is null. Line 2318:
jQuery.readyList = null;
I think, this line must be:
jQuery.readyList = [];
because readyList first declared as array and used as array.