Fixed == change in ready.

This commit is contained in:
John Resig 2009-10-08 18:13:07 +00:00
parent 805832afc7
commit 4b5a680f77

View File

@ -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;
} }