Commit 32816eff authored by Brandon Aaron's avatar Brandon Aaron

Fix for #181

parent f12df1df
......@@ -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;
......
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