Skip to content
Permalink
Browse files

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

  • Loading branch information
jeresig committed Jan 17, 2009
1 parent 34a9f8a commit c2fad371f1eb9e3204f5901d1dca056bbe4f389f
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/event.js
@@ -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 {

0 comments on commit c2fad37

Please sign in to comment.
You can’t perform that action at this time.