]> source.dussan.org Git - jquery.git/commitdiff
Fix #10575. Undeclared `matched` var hosed recursive delegate calls.
authorDave Methvin <dave.methvin@gmail.com>
Tue, 25 Oct 2011 17:43:27 +0000 (13:43 -0400)
committerDave Methvin <dave.methvin@gmail.com>
Tue, 25 Oct 2011 17:43:27 +0000 (13:43 -0400)
Thanks davidmurdoch for staying with this bug!

src/event.js

index 382ff36140024d98e9ca94a97b35a2599a0f41de..bec343fd2f9d3b3152a27bcb0d7f39168737b52d 100644 (file)
@@ -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;