Fixed animating to 0% (Bug #1586).
This commit is contained in:
parent
dbca9cbf62
commit
f6a2e1734f
1 changed files with 2 additions and 2 deletions
|
@ -105,8 +105,8 @@ jQuery.fn.extend({
|
|||
|
||||
// We need to compute starting value
|
||||
if ( unit != "px" ) {
|
||||
self.style[ name ] = end + unit;
|
||||
start = (end / e.cur(true)) * start;
|
||||
self.style[ name ] = (end || 1) + unit;
|
||||
start = ((end || 1) / e.cur(true)) * start;
|
||||
self.style[ name ] = start + unit;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue