Skip to content
Permalink
Browse files
You had to have an event bound in order to trigger an event - which i…
…s not necessarily the case.
  • Loading branch information
jeresig committed Jan 22, 2007
1 parent 31d65e9 commit 23220321d1c937a69b7c2a51766ce8940724e7bf
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/event/event.js
@@ -91,7 +91,8 @@ jQuery.event = {
this.triggered = true;
element[ type ]();
}
}
} else if ( jQuery.isFunction( element[ type ] ) )
element[ type ]();
},

handle: function(event) {

0 comments on commit 2322032

Please sign in to comment.