aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Resig <jeresig@gmail.com>2006-07-17 02:08:00 +0000
committerJohn Resig <jeresig@gmail.com>2006-07-17 02:08:00 +0000
commit954554e2390772fda9a27fdd0c651b5ad76bca16 (patch)
tree518a825dc292f3462887d597b9b870303caf5eaf
parent82e217c70cc158086b6b2df7637fda78d0ca81bd (diff)
downloadjquery-954554e2390772fda9a27fdd0c651b5ad76bca16.tar.gz
jquery-954554e2390772fda9a27fdd0c651b5ad76bca16.zip
Fixed issue with broken .trigger().
-rw-r--r--jquery/jquery.js4
1 files changed, 2 insertions, 2 deletions
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 );
}
};