aboutsummaryrefslogtreecommitdiffstats
path: root/src/core/ready.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/ready.js')
-rw-r--r--src/core/ready.js6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/core/ready.js b/src/core/ready.js
index db1a6e60a..8cef55124 100644
--- a/src/core/ready.js
+++ b/src/core/ready.js
@@ -72,8 +72,10 @@ jQuery.ready.promise = function( obj ) {
readyList = jQuery.Deferred();
- // Catch cases where $(document).ready() is called after the browser event has already occurred.
- // We once tried to use readyState "interactive" here, but it caused issues like the one
+ // Catch cases where $(document).ready() is called
+ // after the browser event has already occurred.
+ // We once tried to use readyState "interactive" here,
+ // but it caused issues like the one
// discovered by ChrisS here: http://bugs.jquery.com/ticket/12282#comment:15
if ( document.readyState === "complete" ) {
// Handle it asynchronously to allow scripts the opportunity to delay ready