mirror of
https://github.com/jquery/jquery.git
synced 2026-02-01 03:25:13 -05:00
Deferred: Propagate progress correctly from unwrapped promises
Progress parameters are now correctly propagated from a deferred to which another deferred resolved unwrapping it. Thanks to @gibson042 for the report and a clear description of the problem and the needed fix. Fixes gh-3062 Closes gh-3150
This commit is contained in:
@@ -162,7 +162,7 @@ jQuery.extend( {
|
||||
resolve( maxDepth, deferred, Identity, special ),
|
||||
resolve( maxDepth, deferred, Thrower, special ),
|
||||
resolve( maxDepth, deferred, Identity,
|
||||
deferred.notify )
|
||||
deferred.notifyWith )
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user