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 f569099
Showing 1 changed file with 1 addition and 1 deletion.
@@ -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.