Made the IE frameElement check more explicit. Fixes #3880.
This commit is contained in:
parent
34a9f8a210
commit
c2fad371f1
1 changed files with 1 additions and 1 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue