Fix for IE firing document ready too soon (Bug #1320).
This commit is contained in:
parent
7c85d973bf
commit
9e83f1b65f
|
@ -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();
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue