Skip to content
Permalink
Browse files

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

  • Loading branch information
jeresig committed Jul 12, 2007
1 parent 7c85d97 commit 9e83f1b65fa34e97cfd86ba17514d014749360e8
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/event/event.js
@@ -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();
};

0 comments on commit 9e83f1b

Please sign in to comment.
You can’t perform that action at this time.