]> source.dussan.org Git - jquery.git/commitdiff
tmp was global in the new fn.promise. Fixes #9147.
authortimmywil <tim.willison@thisismedium.com>
Fri, 6 May 2011 16:10:16 +0000 (12:10 -0400)
committertimmywil <tim.willison@thisismedium.com>
Fri, 6 May 2011 16:10:16 +0000 (12:10 -0400)
src/queue.js

index ce2305426b89850a544d13b525f7cbde1b9b13d0..66383c19020a926d24986e8e43feb54062de34d7 100644 (file)
@@ -148,7 +148,8 @@ jQuery.fn.extend({
                        count = 1,
                        deferDataKey = type + "defer",
                        queueDataKey = type + "queue",
-                       markDataKey = type + "mark";
+                       markDataKey = type + "mark",
+                       tmp;
                function resolve() {
                        if ( !( --count ) ) {
                                defer.resolveWith( elements, [ elements ] );