From: John Resig Date: Mon, 17 Jul 2006 02:08:00 +0000 (+0000) Subject: Fixed issue with broken .trigger(). X-Git-Url: http://git.asbjorn.biz/?a=commitdiff_plain;h=954554e2390772fda9a27fdd0c651b5ad76bca16;p=jquery.git Fixed issue with broken .trigger(). --- diff --git a/jquery/jquery.js b/jquery/jquery.js index 02c22fb..7fd1146 100644 --- a/jquery/jquery.js +++ b/jquery/jquery.js @@ -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 ); } };