This commit is contained in:
Brandon Aaron 2007-04-26 18:52:10 +00:00
parent 33ee5c317d
commit fba422541a

View File

@ -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();
};