From c2fad371f1eb9e3204f5901d1dca056bbe4f389f Mon Sep 17 00:00:00 2001 From: John Resig Date: Sat, 17 Jan 2009 22:04:23 +0000 Subject: [PATCH] Made the IE frameElement check more explicit. Fixes #3880. --- src/event.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 { -- 1.7.10.4