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:
d1a34f7
)
Added a fix, suggested by Diego, for IE firing the ready event too late. Fixes bug...
author
John Resig
<jeresig@gmail.com>
Wed, 28 Jan 2009 22:38:00 +0000
(22:38 +0000)
committer
John Resig
<jeresig@gmail.com>
Wed, 28 Jan 2009 22:38:00 +0000
(22:38 +0000)
src/event.js
patch
|
blob
|
history
diff --git
a/src/event.js
b/src/event.js
index
fdf61ba
..
a621eb9
100644
(file)
--- a/
src/event.js
+++ b/
src/event.js
@@
-637,7
+637,7
@@
function bindReady(){
// If IE and not an iframe
// continually check to see if the document is ready
- if ( document.documentElement.doScroll && typeof window.frameElement === "undefined" ) (function(){
+ if ( document.documentElement.doScroll && window == window.top ) (function(){
if ( jQuery.isReady ) return;
try {