git.asbjorn.biz
/
jquery.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Changed window.frameElement to window == top because of some access denied errors...
[jquery.git]
/
src
/
event.js
diff --git
a/src/event.js
b/src/event.js
index
1977c8e
..
0ccbf5d
100644
(file)
--- a/
src/event.js
+++ b/
src/event.js
@@
-332,7
+332,7
@@
jQuery.event = {
// If Safari or IE is used
// Continually check to see if the document is ready
// If Safari or IE is used
// Continually check to see if the document is ready
- if (jQuery.browser.msie || jQuery.browser.safari ) (function(){
+ if ((jQuery.browser.msie && window == top) || jQuery.browser.safari ) (function(){
try {
// If IE is used, use the trick by Diego Perini
// http://javascript.nwbox.com/IEContentLoaded/
try {
// If IE is used, use the trick by Diego Perini
// http://javascript.nwbox.com/IEContentLoaded/