Commit f5690995 authored by Brandon Aaron's avatar Brandon Aaron

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

parent 3715d73f
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment