Made sure that animate callbacks get executed even when no properties are passed in. Fixes #5459.
This commit is contained in:
parent
b0fe380cf8
commit
3106039aa8
2 changed files with 17 additions and 1 deletions
|
@ -164,6 +164,10 @@ jQuery.fn.extend({
|
|||
}
|
||||
});
|
||||
|
||||
if ( jQuery.isEmptyObject( prop ) ) {
|
||||
return optall.complete.call(this);
|
||||
}
|
||||
|
||||
// For JS strict compliance
|
||||
return true;
|
||||
});
|
||||
|
@ -427,4 +431,4 @@ if ( jQuery.expr && jQuery.expr.filters ) {
|
|||
return elem === fn.elem;
|
||||
}).length;
|
||||
};
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue