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,
|
count = 1,
|
||||||
deferDataKey = type + "defer",
|
deferDataKey = type + "defer",
|
||||||
queueDataKey = type + "queue",
|
queueDataKey = type + "queue",
|
||||||
markDataKey = type + "mark";
|
markDataKey = type + "mark",
|
||||||
|
tmp;
|
||||||
function resolve() {
|
function resolve() {
|
||||||
if ( !( --count ) ) {
|
if ( !( --count ) ) {
|
||||||
defer.resolveWith( elements, [ elements ] );
|
defer.resolveWith( elements, [ elements ] );
|
||||||
|
|
Loading…
Reference in a new issue