Commit fba42254 authored by Brandon Aaron's avatar Brandon Aaron

Fix for #1061

parent 33ee5c31
......@@ -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();
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment