Skip to content
Permalink
Browse files

Merge branch 'master' of github.com:jquery/jquery

  • Loading branch information
jeresig committed Sep 23, 2010
2 parents 894bd02 + e270d80 commit 6dfdb14753c66cfd38f8445bd6119ef4a1274d5e
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/core.js
@@ -437,7 +437,8 @@ jQuery.extend({
// Catch cases where $(document).ready() is called after the
// browser event has already occurred.
if ( document.readyState === "complete" ) {
return jQuery.ready();
// Handle it asynchronously to allow scripts the opportunity to delay ready
return setTimeout( jQuery.ready, 13 );
}

// Mozilla, Opera and webkit nightlies currently support this event

0 comments on commit 6dfdb14

Please sign in to comment.
You can’t perform that action at this time.