Skip to content
Permalink
Browse files

Fix for #181

  • Loading branch information
brandonaaron committed Nov 15, 2006
1 parent f12df1d commit 32816eff59095841e078cf5a7bf637ea64c4c801
Showing with 6 additions and 5 deletions.
  1. +6 −5 src/event/event.js
@@ -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.
You can’t perform that action at this time.