mirror of
https://github.com/jquery/jquery.git
synced 2024-11-23 02:54:22 +00:00
Fixed issue with broken .trigger().
This commit is contained in:
parent
82e217c70c
commit
954554e239
4
jquery/jquery.js
vendored
4
jquery/jquery.js
vendored
@ -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 );
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user