Commit c2fad371 authored by John Resig's avatar John Resig

Made the IE frameElement check more explicit. Fixes #3880.

parent 34a9f8a2
...@@ -638,7 +638,7 @@ function bindReady(){ ...@@ -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 {
......
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