Skip to content
Permalink
Browse files

Fixed animating to 0% (Bug #1586).

  • Loading branch information
jeresig committed Sep 15, 2007
1 parent dbca9cb commit f6a2e1734f73e30386e2679d4f4a8e5ac9a46f88
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/fx.js
@@ -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;
}

0 comments on commit f6a2e17

Please sign in to comment.
You can’t perform that action at this time.