X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=src%2Fevent.js;h=e46e1086c8dde2942c6114c0b39067a9154c91f7;hb=c2fad371f1eb9e3204f5901d1dca056bbe4f389f;hp=08deb8b2985e13579a55be98e8097c2f68199576;hpb=34a9f8a210cfa0aabccc40a974646127d1871d1a;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 {