Permalink
Browse files

Remove half-support for frame window elements in favor of always work…

…ing on the same window. Fixes #8018
  • Loading branch information...
1 parent bb94085 commit 8ddede77e83fd33eef99f5a0b0fa45e0855d60cc @SlexAxton committed Feb 14, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/event.js
View
@@ -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;
}

0 comments on commit 8ddede7

Please sign in to comment.