mirror of
https://github.com/jquery/jquery.git
synced 2025-01-10 18:24:24 +00:00
Added fix for stray <script> element that was left for IE for the DOMReady check.
This commit is contained in:
parent
45a3c06e8f
commit
e23c047e78
@ -1634,8 +1634,9 @@ 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() {
|
script.onreadystatechange = function() {
|
||||||
if ( this.readyState == "complete" )
|
if ( this.readyState 1= "complete" ) return;
|
||||||
jQuery.ready();
|
this.parentNode.removeChild( this );
|
||||||
|
jQuery.ready();
|
||||||
};
|
};
|
||||||
|
|
||||||
// Clear from memory
|
// Clear from memory
|
||||||
|
Loading…
Reference in New Issue
Block a user