Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Changed the === undefined ready event check to == null since frameEle…

…ment is usually null and was skipping the normal line of checks.
  • Loading branch information...
commit 3a23a5c17dd0522da06db8f36890f134f9004de6 1 parent 0a7232c
@WebReflection WebReflection authored jeresig committed
Showing with 1 addition and 1 deletion.
  1. +1 −1  src/event.js
View
2  src/event.js
@@ -854,7 +854,7 @@ function bindReady() {
var toplevel = false;
try {
- toplevel = window.frameElement === undefined;
+ toplevel = window.frameElement == null;
} catch(e){}
if ( document.documentElement.doScroll && toplevel ) (function() {
Please sign in to comment.
Something went wrong with that request. Please try again.