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:
aef1989
)
only copy guid from handler to modifiedHandler if it does not already have one
author
Brandon Aaron
<brandon.aaron@gmail.com>
Fri, 1 May 2009 00:02:51 +0000
(
00:02
+0000)
committer
Brandon Aaron
<brandon.aaron@gmail.com>
Fri, 1 May 2009 00:02:51 +0000
(
00:02
+0000)
src/event.js
patch
|
blob
|
history
diff --git
a/src/event.js
b/src/event.js
index
232fa27
..
4f63bae
100644
(file)
--- a/
src/event.js
+++ b/
src/event.js
@@
-66,7
+66,7
@@
jQuery.event = {
if ( special.add ) {
var modifiedHandler = special.add.call( elem, handler, data, namespaces );
if ( modifiedHandler && jQuery.isFunction( modifiedHandler ) ) {
- modifiedHandler.guid = handler.guid;
+ modifiedHandler.guid = modifiedHandler.guid || handler.guid;
handler = modifiedHandler;
}
}