Commit 954554e2 authored by John Resig's avatar John Resig

Fixed issue with broken .trigger().

parent 82e217c7
...@@ -1076,8 +1076,8 @@ new function() { ...@@ -1076,8 +1076,8 @@ new function() {
* @type jQuery * @type jQuery
* @param String type An event type * @param String type An event type
*/ */
trigger: function( type ) { trigger: function( type, data ) {
jQuery.event.trigger( this, type ); jQuery.event.trigger( type, data, this );
} }
}; };
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment