From ce00f88ae20b3b569138435c6dd87f44bf5d2be0 Mon Sep 17 00:00:00 2001 From: John Resig Date: Wed, 28 Jan 2009 22:38:00 +0000 Subject: [PATCH] Added a fix, suggested by Diego, for IE firing the ready event too late. Fixes bug #3988. --- src/event.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 { -- 1.7.10.4