git.asbjorn.biz
/
jquery.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
offset returns null for window and document elements. fixes #4136 again
[jquery.git]
/
src
/
event.js
diff --git
a/src/event.js
b/src/event.js
index
4127fa8
..
7fa58ec
100644
(file)
--- a/
src/event.js
+++ b/
src/event.js
@@
-13,7
+13,7
@@
jQuery.event = {
// For whatever reason, IE has trouble passing the window object
// around, causing it to be cloned in the process
// For whatever reason, IE has trouble passing the window object
// around, causing it to be cloned in the process
- if ( elem.setInterval && elem != window )
+ if ( elem.setInterval && ( elem != window && !elem.frameElement ) )
elem = window;
// Make sure that the function being executed has a unique ID
elem = window;
// Make sure that the function being executed has a unique ID