mirror of
https://github.com/jquery/jquery.git
synced 2024-11-23 02:54:22 +00:00
Fix for #1186
This commit is contained in:
parent
edea4866e8
commit
c76f6cd125
@ -157,7 +157,7 @@ jQuery.event = {
|
||||
// Empty object is for triggered events with no data
|
||||
event = jQuery.event.fix( event || window.event || {} );
|
||||
|
||||
var c = this.$events[event.type], args = [].slice.call( arguments, 1 );
|
||||
var c = this.$events && this.$events[event.type], args = [].slice.call( arguments, 1 );
|
||||
args.unshift( event );
|
||||
|
||||
for ( var j in c ) {
|
||||
|
Loading…
Reference in New Issue
Block a user