mirror of
https://github.com/jquery/jquery.git
synced 2026-02-07 15:35:03 -05:00
Added a fix, suggested by Diego, for IE firing the ready event too late. Fixes bug #3988.
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user