diff --git a/src/event.js b/src/event.js index 055de724d..1b4c539b9 100644 --- a/src/event.js +++ b/src/event.js @@ -838,7 +838,7 @@ function bindReady() { // maybe late but safe also for iframes document.attachEvent("onreadystatechange", function() { // Make sure body exists, at least, in case IE gets a little overzealous (ticket #5443). - if ( document.readyState === "complete" && document.body ) { + if ( document.readyState === "complete" ) { document.detachEvent( "onreadystatechange", arguments.callee ); jQuery.ready(); }