mirror of
https://github.com/jquery/jquery.git
synced 2024-11-23 02:54:22 +00:00
Fixed == change in ready.
This commit is contained in:
parent
805832afc7
commit
4b5a680f77
@ -830,7 +830,8 @@ function bindReady() {
|
|||||||
|
|
||||||
// If IE and not an iframe
|
// If IE and not an iframe
|
||||||
// continually check to see if the document is ready
|
// continually check to see if the document is ready
|
||||||
if ( document.documentElement.doScroll && window === window.top ) (function() {
|
// NOTE: DO NOT CHANGE TO ===, FAILS IN IE.
|
||||||
|
if ( document.documentElement.doScroll && window == window.top ) (function() {
|
||||||
if ( jQuery.isReady ) {
|
if ( jQuery.isReady ) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user