X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;ds=sidebyside;f=src%2Fevent.js;h=a621eb93e8442e39695eb8785036737d811b3dce;hb=ce00f88ae20b3b569138435c6dd87f44bf5d2be0;hp=fdf61baef005f29daf9d59e1304e472d6b44ff61;hpb=a78557472ce1c2cdf7db01a13fcc8591f3fdcfb0;p=jquery.git diff --git a/src/event.js b/src/event.js index fdf61ba..a621eb9 100644 --- a/src/event.js +++ b/src/event.js @@ -637,7 +637,7 @@ function bindReady(){ // If IE and not an iframe // continually check to see if the document is ready - if ( document.documentElement.doScroll && typeof window.frameElement === "undefined" ) (function(){ + if ( document.documentElement.doScroll && window == window.top ) (function(){ if ( jQuery.isReady ) return; try {