Skip to content

Commit

Permalink
Fix for IE firing document ready too soon (Bug #1320).
Browse files Browse the repository at this point in the history
  • Loading branch information
jeresig committed Jul 12, 2007
1 parent 7c85d97 commit 9e83f1b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/event/event.js
Original file line number Diff line number Diff line change
Expand Up @@ -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();
};

Expand Down

0 comments on commit 9e83f1b

Please sign in to comment.