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

Thanks davidmurdoch for staying with this bug!
This commit is contained in:
Dave Methvin 2011-10-25 13:43:27 -04:00
parent 92f1fff410
commit fc13f5b6ce

View File

@ -407,7 +407,7 @@ jQuery.event = {
run_all = !event.exclusive && !event.namespace, run_all = !event.exclusive && !event.namespace,
specialHandle = ( jQuery.event.special[ event.type ] || {} ).handle, specialHandle = ( jQuery.event.special[ event.type ] || {} ).handle,
handlerQueue = [], 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 // Use the fix-ed jQuery.Event rather than the (read-only) native event
args[0] = event; args[0] = event;