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
(parent:
805832a
)
Fixed == change in ready.
author
John Resig
<jeresig@gmail.com>
Thu, 8 Oct 2009 18:13:07 +0000
(18:13 +0000)
committer
John Resig
<jeresig@gmail.com>
Thu, 8 Oct 2009 18:13:07 +0000
(18:13 +0000)
src/event.js
patch
|
blob
|
history
diff --git
a/src/event.js
b/src/event.js
index
0f976a0
..
69a1043
100644
(file)
--- a/
src/event.js
+++ b/
src/event.js
@@
-830,7
+830,8
@@
function bindReady() {
// If IE and not an iframe
// continually check to see if the document is ready
- if ( document.documentElement.doScroll && window === window.top ) (function() {
+ // NOTE: DO NOT CHANGE TO ===, FAILS IN IE.
+ if ( document.documentElement.doScroll && window == window.top ) (function() {
if ( jQuery.isReady ) {
return;
}