]> source.dussan.org Git - jquery.git/commitdiff
The unload event no longer needs the IE6SP2 fix, see http://bugs.jquery.com/ticket...
authorDave Methvin <dave.methvin@gmail.com>
Thu, 1 Sep 2011 21:52:13 +0000 (17:52 -0400)
committertimmywil <timmywillisn@gmail.com>
Mon, 19 Sep 2011 19:42:31 +0000 (15:42 -0400)
src/event.js

index e6382ea62aa2d8c754a8201161d6b6c5d2610fb6..ede6d4c2d63f4d0cfd663b94e6e82f7af6e031f7 100644 (file)
@@ -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 );