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
// 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 ) {
return;
}