X-Git-Url: http://git.asbjorn.it/?a=blobdiff_plain;ds=sidebyside;f=src%2Fevent.js;h=e46e1086c8dde2942c6114c0b39067a9154c91f7;hb=d6e541426d10b335fa3b6b481ae591ede977c480;hp=08deb8b2985e13579a55be98e8097c2f68199576;hpb=b1018cad1256a7b9cc47e675b2a9e22c409b7aed;p=jquery.git diff --git a/src/event.js b/src/event.js index 08deb8b..e46e108 100644 --- a/src/event.js +++ b/src/event.js @@ -638,7 +638,7 @@ function bindReady(){ // If IE and not an iframe // continually check to see if the document is ready - if ( document.documentElement.doScroll && !window.frameElement ) (function(){ + if ( document.documentElement.doScroll && typeof window.frameElement === "undefined" ) (function(){ if ( jQuery.isReady ) return; try {