Skip to content
Permalink
Browse files

Removing un-needed frameElement check as discussed in #8018. Fixes #8…

…108.
  • Loading branch information...
jeresig committed Apr 12, 2011
1 parent 0d755df commit 7bfb6a7dd315f0eda3e5227f7d41e38f66f46549
Showing with 0 additions and 11 deletions.
  1. +0 −11 src/event.js
@@ -24,17 +24,6 @@ jQuery.event = {
return;
}

// TODO :: Use a try/catch until it's safe to pull this out (likely 1.6)
// Minor release fix for bug #8018
try {
// 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 ) ) {
elem = window;
}
}
catch ( e ) {}

if ( handler === false ) {
handler = returnFalse;
} else if ( !handler ) {

0 comments on commit 7bfb6a7

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