Fix for #181
This commit is contained in:
parent
f12df1df85
commit
32816eff59
1 changed files with 6 additions and 5 deletions
|
@ -1621,11 +1621,12 @@ new function(){
|
||||||
|
|
||||||
// Use the defer script hack
|
// Use the defer script hack
|
||||||
var script = document.getElementById("__ie_init");
|
var script = document.getElementById("__ie_init");
|
||||||
script.onreadystatechange = function() {
|
if (script) // script does not exist if jQuery is loaded dynamically
|
||||||
if ( this.readyState != "complete" ) return;
|
script.onreadystatechange = function() {
|
||||||
this.parentNode.removeChild( this );
|
if ( this.readyState != "complete" ) return;
|
||||||
jQuery.ready();
|
this.parentNode.removeChild( this );
|
||||||
};
|
jQuery.ready();
|
||||||
|
};
|
||||||
|
|
||||||
// Clear from memory
|
// Clear from memory
|
||||||
script = null;
|
script = null;
|
||||||
|
|
Loading…
Add table
Reference in a new issue