Skip to content
Browse files

Fix bug with the readyWait DOM ready addition.

  • Loading branch information...
1 parent dc8491d commit 1ac3713e7fa187838b04290ada9e4fc56e01f145 @jeresig jeresig committed Sep 21, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core.js
View
2 src/core.js
@@ -373,7 +373,7 @@ jQuery.extend({
}
// Make sure that the DOM is not already loaded
- if ( !jQuery.readyWait && !jQuery.isReady ) {
+ if ( !jQuery.readyWait || (wait !== true && !jQuery.isReady) ) {
// Make sure body exists, at least, in case IE gets a little overzealous (ticket #5443).
if ( !document.body ) {
return setTimeout( jQuery.ready, 13 );

0 comments on commit 1ac3713

Please sign in to comment.
Something went wrong with that request. Please try again.