From: John Resig Date: Sat, 17 Jan 2009 22:04:23 +0000 (+0000) Subject: Made the IE frameElement check more explicit. Fixes #3880. X-Git-Url: http://git.asbjorn.biz/?p=jquery.git;a=commitdiff_plain;h=c2fad371f1eb9e3204f5901d1dca056bbe4f389f Made the IE frameElement check more explicit. Fixes #3880. --- 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 {