Skip to content
Permalink
Browse files
Added fix for stray <script> element that was left for IE for the DOM…
…Ready check.
  • Loading branch information
jeresig committed Aug 31, 2006
1 parent 45a3c06 commit e23c047
Showing 1 changed file with 3 additions and 2 deletions.
@@ -1634,8 +1634,9 @@ new function(){
// Use the defer script hack
var script = document.getElementById("__ie_init");
script.onreadystatechange = function() {
if ( this.readyState == "complete" )
jQuery.ready();
if ( this.readyState 1= "complete" ) return;
this.parentNode.removeChild( this );
jQuery.ready();
};

// Clear from memory

0 comments on commit e23c047

Please sign in to comment.