Commit 4b5a680f authored by John Resig's avatar John Resig

Fixed == change in ready.

parent 805832af
...@@ -830,7 +830,8 @@ function bindReady() { ...@@ -830,7 +830,8 @@ 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 && window === window.top ) (function() { // NOTE: DO NOT CHANGE TO ===, FAILS IN IE.
if ( document.documentElement.doScroll && window == window.top ) (function() {
if ( jQuery.isReady ) { if ( jQuery.isReady ) {
return; return;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment