Skip to content

Commit

Permalink
Added a fix, suggested by Diego, for IE firing the ready event too la…
Browse files Browse the repository at this point in the history
…te. Fixes bug #3988.
  • Loading branch information
jeresig committed Jan 28, 2009
1 parent d1a34f7 commit ce00f88
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/event.js
Expand Up @@ -637,7 +637,7 @@ function bindReady(){


// If IE and not an iframe // If IE and not an iframe
// continually check to see if the document is ready // 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; if ( jQuery.isReady ) return;


try { try {
Expand Down

0 comments on commit ce00f88

Please sign in to comment.