Skip to content
Permalink
Browse files

Fixed == change in ready.

  • Loading branch information...
jeresig committed Oct 8, 2009
1 parent 805832a commit 4b5a680f776ee2582e2c1f85b7b0cd9a95254dc3
Showing with 2 additions and 1 deletion.
  1. +2 −1 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;
}

0 comments on commit 4b5a680

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