mirror of
https://github.com/jquery/jquery.git
synced 2026-04-20 03:01:22 -04:00
Made the IE frameElement check more explicit. Fixes #3880.
This commit is contained in:
@@ -638,7 +638,7 @@ function bindReady(){
|
||||
|
||||
// If IE and not an iframe
|
||||
// continually check to see if the document is ready
|
||||
if ( document.documentElement.doScroll && !window.frameElement ) (function(){
|
||||
if ( document.documentElement.doScroll && typeof window.frameElement === "undefined" ) (function(){
|
||||
if ( jQuery.isReady ) return;
|
||||
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user