mirror of
https://github.com/jquery/jquery.git
synced 2026-02-07 03:55:17 -05:00
Remove moot second argument from slice.call()
The zeroes were added to fix http://bugs.jquery.com/ticket/4942 but those browsers are no longer supported.
This commit is contained in:
committed by
Dave Methvin
parent
22ad8723ce
commit
d5ee856a44
@@ -386,7 +386,7 @@ jQuery.event = {
|
||||
|
||||
var handlers = ( (jQuery._data( this, "events" ) || {} )[ event.type ] || []),
|
||||
delegateCount = handlers.delegateCount,
|
||||
args = [].slice.call( arguments, 0 ),
|
||||
args = [].slice.call( arguments ),
|
||||
run_all = !event.exclusive && !event.namespace,
|
||||
special = jQuery.event.special[ event.type ] || {},
|
||||
handlerQueue = [],
|
||||
|
||||
Reference in New Issue
Block a user