This commit is contained in:
Brandon Aaron 2007-05-11 21:14:11 +00:00
parent edea4866e8
commit c76f6cd125

View file

@ -157,7 +157,7 @@ jQuery.event = {
// Empty object is for triggered events with no data // Empty object is for triggered events with no data
event = jQuery.event.fix( event || window.event || {} ); 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 ); args.unshift( event );
for ( var j in c ) { for ( var j in c ) {