mirror of
https://github.com/jquery/jquery.git
synced 2025-01-10 18:24:24 +00:00
Remove setTimeout for body existance
Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
This commit is contained in:
parent
f300c5c2f3
commit
8000c6cf20
@ -368,11 +368,6 @@ jQuery.extend({
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Make sure body exists, at least, in case IE gets a little overzealous (ticket #5443).
|
|
||||||
if ( !document.body ) {
|
|
||||||
return setTimeout( jQuery.ready );
|
|
||||||
}
|
|
||||||
|
|
||||||
// Remember that the DOM is ready
|
// Remember that the DOM is ready
|
||||||
jQuery.isReady = true;
|
jQuery.isReady = true;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user