git.asbjorn.biz
/
jquery.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
82e217c
)
Fixed issue with broken .trigger().
author
John Resig
<jeresig@gmail.com>
Mon, 17 Jul 2006 02:08:00 +0000
(
02:08
+0000)
committer
John Resig
<jeresig@gmail.com>
Mon, 17 Jul 2006 02:08:00 +0000
(
02:08
+0000)
jquery/jquery.js
patch
|
blob
|
history
diff --git
a/jquery/jquery.js
b/jquery/jquery.js
index
02c22fb
..
7fd1146
100644
(file)
--- 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 );
}
};