git.asbjorn.biz
/
jquery.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
4b70f00
)
Make sure that document ready events, inside a document ready, are added to the queue...
author
John Resig
<jeresig@gmail.com>
Wed, 9 Dec 2009 21:45:06 +0000
(13:45 -0800)
committer
John Resig
<jeresig@gmail.com>
Wed, 9 Dec 2009 21:45:06 +0000
(13:45 -0800)
src/core.js
patch
|
blob
|
history
diff --git
a/src/core.js
b/src/core.js
index
0a5bd53
..
e0db81d
100644
(file)
--- a/
src/core.js
+++ b/
src/core.js
@@
-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 );