From: John Resig Date: Mon, 17 Jul 2006 02:08:00 +0000 (+0000) Subject: Fixed issue with broken .trigger(). X-Git-Tag: 1.0~90 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=954554e2390772fda9a27fdd0c651b5ad76bca16;p=jquery.git Fixed issue with broken .trigger(). --- diff --git a/jquery/jquery.js b/jquery/jquery.js index 02c22fbe0..7fd11462a 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 ); } };