Backing out commit 81bfd9b870
, 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.
This commit is contained in:
parent
4fd730dca7
commit
24e18d4cae
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue