From: John Resig Date: Thu, 8 Oct 2009 18:13:07 +0000 (+0000) Subject: Fixed == change in ready. X-Git-Url: http://git.asbjorn.it/?a=commitdiff_plain;h=4b5a680f776ee2582e2c1f85b7b0cd9a95254dc3;p=jquery.git Fixed == change in ready. --- diff --git a/src/event.js b/src/event.js index 0f976a0..69a1043 100644 --- a/src/event.js +++ b/src/event.js @@ -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; }