From 9c2f0005675c8d913aabd83ed6723aab6ac9e59c Mon Sep 17 00:00:00 2001 From: Dave Methvin Date: Thu, 1 Nov 2012 19:48:21 -0400 Subject: [PATCH] Remove unneeded parameter hockey in event shortcuts. --- src/event.js | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/event.js b/src/event.js index fdb10c25f..c3da76752 100644 --- a/src/event.js +++ b/src/event.js @@ -967,11 +967,6 @@ jQuery.each( ("blur focus focusin focusout load resize scroll unload click dblcl // Handle event binding jQuery.fn[ name ] = function( data, fn ) { - if ( fn == null ) { - fn = data; - data = null; - } - return arguments.length > 0 ? this.on( name, null, data, fn ) : this.trigger( name ); -- 2.39.5