Fixed issue with broken .trigger().
This commit is contained in:
parent
82e217c70c
commit
954554e239
1 changed files with 2 additions and 2 deletions
4
jquery/jquery.js
vendored
4
jquery/jquery.js
vendored
|
@ -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 );
|
||||
}
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue