Fixed issue with broken .trigger().

This commit is contained in:
John Resig 2006-07-17 02:08:00 +00:00
parent 82e217c70c
commit 954554e239

4
jquery/jquery.js vendored
View file

@ -1076,8 +1076,8 @@ new function() {
* @type jQuery
* @param String type An event type
*/
trigger: function( type ) {
jQuery.event.trigger( this, type );
trigger: function( type, data ) {
jQuery.event.trigger( type, data, this );
}
};