Skip to content
Permalink
Browse files

only copy guid from handler to modifiedHandler if it does not already…

… have one
  • Loading branch information
brandonaaron committed May 1, 2009
1 parent aef1989 commit a4b8fed8ad7542309e5f4573468261c9a98af97f
Showing with 1 addition and 1 deletion.
  1. +1 −1 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;
}
}

0 comments on commit a4b8fed

Please sign in to comment.
You can’t perform that action at this time.