X-Git-Url: http://git.asbjorn.it/?a=blobdiff_plain;f=src%2Fevent.js;h=69a1043581a36d50ddd96f2600676e35e64126e8;hb=1ef930b3845248379f37a6b26c826122e9f65932;hp=0f976a060d52d61755dee5fdbf6dca6492188d77;hpb=45dfa3b0fc49718c4f00600d1e25a129601d08ee;p=jquery.git 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; }