mirror of
https://github.com/jquery/jquery.git
synced 2026-01-24 18:08:30 -05:00
Fix for IE firing document ready too soon (Bug #1320).
This commit is contained in:
@@ -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();
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user