Skip to content
Permalink
Browse files

Added a fix, suggested by Diego, for IE firing the ready event too la…

…te. Fixes bug #3988.
  • Loading branch information...
jeresig committed Jan 28, 2009
1 parent d1a34f7 commit ce00f88ae20b3b569138435c6dd87f44bf5d2be0
Showing with 1 addition and 1 deletion.
  1. +1 −1 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 {

0 comments on commit ce00f88

Please sign in to comment.
You can’t perform that action at this time.