X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;ds=sidebyside;f=src%2Fevent.js;h=69a1043581a36d50ddd96f2600676e35e64126e8;hb=b7ccc58afec145120e8e675cf8fd30e9ea97f2a3;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; }