mirror of
https://github.com/jquery/jquery.git
synced 2024-11-23 02:54:22 +00:00
Reverted the change that I made in #1320.
This commit is contained in:
parent
346ceacce3
commit
a5c319f922
@ -982,7 +982,7 @@ function bindReady(){
|
|||||||
// script does not exist if jQuery is loaded dynamically
|
// script does not exist if jQuery is loaded dynamically
|
||||||
if ( script )
|
if ( script )
|
||||||
script.onreadystatechange = function() {
|
script.onreadystatechange = function() {
|
||||||
if ( document.readyState != "complete" ) return;
|
if ( this.readyState != "complete" ) return;
|
||||||
jQuery.ready();
|
jQuery.ready();
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user