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:
f9dbb9f
)
Fake trigger events now get passed through $.event.fix() first, to give them an extra...
author
John Resig
<jeresig@gmail.com>
Fri, 16 Jun 2006 00:02:54 +0000
(
00:02
+0000)
committer
John Resig
<jeresig@gmail.com>
Fri, 16 Jun 2006 00:02:54 +0000
(
00:02
+0000)
jquery/jquery.js
patch
|
blob
|
history
diff --git
a/jquery/jquery.js
b/jquery/jquery.js
index
cfac542
..
6a79833
100644
(file)
--- a/
jquery/jquery.js
+++ b/
jquery/jquery.js
@@
-803,7
+803,7
@@
$.event.remove = function(element, type, handler) {
};
$.event.trigger = function(element,type,data) {
- data = data || [{ type: type }];
+ data = data || [ $.event.fix({ type: type }) ];
if ( element && element["on" + type] ) {
$.apply( element, element["on" + type], data );
}