Fix for IE firing document ready too soon (Bug #1320).

This commit is contained in:
John Resig 2007-07-12 20:33:05 +00:00
parent 7c85d973bf
commit 9e83f1b65f

View File

@ -954,7 +954,7 @@ new function(){
// script does not exist if jQuery is loaded dynamically
if ( script )
script.onreadystatechange = function() {
if ( this.readyState != "complete" ) return;
if ( document.readyState != "complete" ) return;
jQuery.ready();
};