Commit 24e18d4c authored by John Resig's avatar John Resig

Backing out commit 81bfd9b8, read the ticket...

Backing out commit 81bfd9b8, read the ticket incorrectly - and seeing some of the other earlier tickets it's obvious that a more generic solution is needed. Thanks jdalton for the catch.
parent 4fd730dc
...@@ -838,7 +838,7 @@ function bindReady() { ...@@ -838,7 +838,7 @@ function bindReady() {
// maybe late but safe also for iframes // maybe late but safe also for iframes
document.attachEvent("onreadystatechange", function() { document.attachEvent("onreadystatechange", function() {
// Make sure body exists, at least, in case IE gets a little overzealous (ticket #5443). // 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 ); document.detachEvent( "onreadystatechange", arguments.callee );
jQuery.ready(); jQuery.ready();
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment