Skip to content
Permalink
Browse files
Fix for #181
  • Loading branch information
brandonaaron committed Nov 15, 2006
1 parent f12df1d commit 32816ef
Showing 1 changed file with 6 additions and 5 deletions.
@@ -1621,11 +1621,12 @@ new function(){

// Use the defer script hack
var script = document.getElementById("__ie_init");
script.onreadystatechange = function() {
if ( this.readyState != "complete" ) return;
this.parentNode.removeChild( this );
jQuery.ready();
};
if (script) // script does not exist if jQuery is loaded dynamically
script.onreadystatechange = function() {
if ( this.readyState != "complete" ) return;
this.parentNode.removeChild( this );
jQuery.ready();
};

// Clear from memory
script = null;

0 comments on commit 32816ef

Please sign in to comment.