Permalink
Browse files

Pulling out checks entirely, instead of forcing the same window refer…

…ence.
  • Loading branch information...
SlexAxton committed Jan 20, 2011
1 parent 37dc4e4 commit fdad20b202fe65f5a4d299e82dc28949d54a5e03
Showing with 0 additions and 7 deletions.
  1. +0 −7 src/event.js
View
@@ -25,13 +25,6 @@ jQuery.event = {
return;
}
- // For whatever reason, IE has trouble passing the window object
- // around, causing it to be cloned in the process leading to a
- // weird state where "elem == window" but NOT "elem === window"
- if ( elem == window ) {
- elem = window;
- }
-
if ( handler === false ) {
handler = returnFalse;
} else if ( !handler ) {

0 comments on commit fdad20b

Please sign in to comment.