Skip to content

Commit

Permalink
Remove half-support for frame window elements in favor of always work…
Browse files Browse the repository at this point in the history
…ing on the same window. Fixes #8018
  • Loading branch information
SlexAxton committed Feb 14, 2011
1 parent bb94085 commit 8ddede7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/event.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jQuery.event = {

// For whatever reason, IE has trouble passing the window object
// around, causing it to be cloned in the process
if ( jQuery.isWindow( elem ) && ( elem !== window && !elem.frameElement ) ) {
if ( jQuery.isWindow( elem ) ) {
elem = window;
}

Expand Down

0 comments on commit 8ddede7

Please sign in to comment.