aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/event.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/event.js b/src/event.js
index ccbfd2ad4..0ccbf5d31 100644
--- 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 ((jQuery.browser.msie && !window.frameElement) || 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/