Fix #13937: Correctly scope .finish() following multi-element .animate(). Thanks @gnarf37. Close gh-1279.

(cherry picked from commit ae9e05e9f3)
This commit is contained in:
Richard Gibson
2013-05-25 10:18:57 -04:00
parent 68c9d0528c
commit 6fd5e480c1
3 changed files with 33 additions and 10 deletions

View File

@@ -35,7 +35,6 @@ jQuery.extend({
startLength--;
}
hooks.cur = fn;
if ( fn ) {
// Add a progress sentinel to prevent the fx queue from being