From f5690995dd0d3b3b30410b781e060c5ce55e465f Mon Sep 17 00:00:00 2001 From: Brandon Aaron Date: Wed, 22 Apr 2009 04:18:53 +0000 Subject: [PATCH] fix for #4268. bind now works with iframe windows. thanks tr4nslator --- src/event.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/event.js b/src/event.js index 4127fa8..7fa58ec 100644 --- 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 - 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 -- 1.7.10.4