Skip to content
Permalink
Browse files

fix for #4268. bind now works with iframe windows. thanks tr4nslator

  • Loading branch information
brandonaaron committed Apr 22, 2009
1 parent 3715d73 commit f5690995dd0d3b3b30410b781e060c5ce55e465f
Showing with 1 addition and 1 deletion.
  1. +1 −1 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

0 comments on commit f569099

Please sign in to comment.
You can’t perform that action at this time.