git.asbjorn.biz
/
jquery.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0a7232c
)
Changed the === undefined ready event check to == null since frameElement is usually...
author
Andrea Giammarchi
<andrea.giammarchi@gmail.com>
Tue, 17 Nov 2009 15:45:01 +0000
(10:45 -0500)
committer
John Resig
<jeresig@gmail.com>
Tue, 17 Nov 2009 15:45:01 +0000
(10:45 -0500)
src/event.js
patch
|
blob
|
history
diff --git
a/src/event.js
b/src/event.js
index
1468d0c
..
014fb73
100644
(file)
--- a/
src/event.js
+++ b/
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() {