diff --git a/src/event.js b/src/event.js index fdf61bae..a621eb93 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 {