From 9038aa958614583f581c2be39267d81bb42f3115 Mon Sep 17 00:00:00 2001 From: Dave Methvin Date: Thu, 1 Sep 2011 17:52:13 -0400 Subject: [PATCH] The unload event no longer needs the IE6SP2 fix, see http://bugs.jquery.com/ticket/8982 --- src/event.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/event.js b/src/event.js index e6382ea62..ede6d4c2d 100644 --- a/src/event.js +++ b/src/event.js @@ -955,7 +955,7 @@ jQuery.fn.extend({ return this; } - if ( one === 1 || types === "unload" ) { + if ( one === 1 ) { origFn = fn; fn = function( event ) { jQuery.event.remove( event.delegateTarget || this, event ); -- 2.39.5