]> source.dussan.org Git - jquery.git/commitdiff
Backing out commit 81bfd9b870f658ce00eec48ea48a84d69c20bf05, read the ticket incorrec...
authorJohn Resig <jeresig@gmail.com>
Mon, 9 Nov 2009 12:30:33 +0000 (13:30 +0100)
committerJohn Resig <jeresig@gmail.com>
Mon, 9 Nov 2009 12:30:33 +0000 (13:30 +0100)
src/event.js

index 055de724db404a6af3863aaebc499d45ca6bc502..1b4c539b9d1f6df5948493a3da1fcd104ce5d39d 100644 (file)
@@ -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();
                        }