Make sure that document ready events, inside a document ready, are added to the queue...
[jquery.git] / src / core.js
index 0a5bd53..e0db81d 100644 (file)
@@ -237,7 +237,7 @@ jQuery.fn = jQuery.prototype = {
                jQuery.bindReady();
 
                // If the DOM is already ready
-               if ( jQuery.isReady ) {
+               if ( jQuery.isReady && !readyList ) {
                        // Execute the function immediately
                        fn.call( document, jQuery );