aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjeresig <jeresig@gmail.com>2011-04-12 00:29:52 -0400
committerjeresig <jeresig@gmail.com>2011-04-12 00:29:52 -0400
commit7bfb6a7dd315f0eda3e5227f7d41e38f66f46549 (patch)
tree072da5e4eda6c059fd78dc8f9bcb42446b78468f
parent0d755dff13ae36a9b2f79ecbb0db05dd2c322e42 (diff)
downloadjquery-7bfb6a7dd315f0eda3e5227f7d41e38f66f46549.tar.gz
jquery-7bfb6a7dd315f0eda3e5227f7d41e38f66f46549.zip
Removing un-needed frameElement check as discussed in #8018. Fixes #8108.
-rw-r--r--src/event.js11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/event.js b/src/event.js
index 1d9236279..7d5a1097b 100644
--- a/src/event.js
+++ b/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 ) {