Skip to content
Permalink
Browse files

Fix #10575. Undeclared `matched` var hosed recursive delegate calls.

Thanks davidmurdoch for staying with this bug!
  • Loading branch information...
dmethvin committed Oct 25, 2011
1 parent 92f1fff commit fc13f5b6cebc25e7cdb7bc72c4a7d3298e2c696a
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/event.js
@@ -407,7 +407,7 @@ jQuery.event = {
run_all = !event.exclusive && !event.namespace,
specialHandle = ( jQuery.event.special[ event.type ] || {} ).handle,
handlerQueue = [],
i, j, cur, ret, selMatch, matches, handleObj, sel, hit, related;
i, j, cur, ret, selMatch, matched, matches, handleObj, sel, hit, related;

// Use the fix-ed jQuery.Event rather than the (read-only) native event
args[0] = event;

0 comments on commit fc13f5b

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