Commit ce00f88a authored by John Resig's avatar John Resig

Added a fix, suggested by Diego, for IE firing the ready event too late. Fixes bug #3988.

parent d1a34f79
...@@ -637,7 +637,7 @@ function bindReady(){ ...@@ -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 {
......
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