Skip to content
Permalink
Browse files

Fix for #1061

  • Loading branch information
brandonaaron committed Apr 26, 2007
1 parent 33ee5c3 commit fba422541a06a05ead698e1bffe4c7ec9a05ba22
Showing with 3 additions and 1 deletion.
  1. +3 −1 src/event/event.js
@@ -551,6 +551,9 @@ jQuery.extend({
// Remove event lisenter to avoid memory leak
if ( jQuery.browser.mozilla || jQuery.browser.opera )
document.removeEventListener( "DOMContentLoaded", jQuery.ready, false );

// Remove script element used by IE hack
jQuery(window).load(function(){ jQuery("#__ie_init").remove(); });
}
}
});
@@ -928,7 +931,6 @@ new function(){
if ( script )
script.onreadystatechange = function() {
if ( this.readyState != "complete" ) return;
this.parentNode.removeChild( this );
jQuery.ready();
};

0 comments on commit fba4225

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