tmp was global in the new fn.promise. Fixes #9147.
This commit is contained in:
parent
a257e07ae4
commit
f7f8450041
|
@ -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 ] );
|
||||
|
|
Loading…
Reference in a new issue