Skip to content

Commit 616336c

Browse files
author
Matt Lee
committed
+ fixed for methods that changed the jQuery set (find/child/etc)
1 parent c7e7c5a commit 616336c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

jquery.wait.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,10 +53,10 @@
5353
// remaining queued-up function calls to that wait call
5454
if (next.fnc === 'wait') {
5555
next.arg.push(this._fncQueue);
56-
return this._$real[next.fnc].apply(this._$real, next.arg);
56+
return this._$real = this._$real[next.fnc].apply(this._$real, next.arg);
5757
}
5858

59-
this._$real[next.fnc].apply(this._$real, next.arg);
59+
this._$real = this._$real[next.fnc].apply(this._$real, next.arg);
6060
}
6161

6262
return this;

0 commit comments

Comments
 (0)