Made the IE frameElement check more explicit. Fixes #3880.
This commit is contained in:
parent
34a9f8a210
commit
c2fad371f1
|
@ -638,7 +638,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 && !window.frameElement ) (function(){
|
if ( document.documentElement.doScroll && typeof window.frameElement === "undefined" ) (function(){
|
||||||
if ( jQuery.isReady ) return;
|
if ( jQuery.isReady ) return;
|
||||||
|
|
||||||
try {
|
try {
|
||||||
|
|
Loading…
Reference in a new issue