- // If a +/- token was provided, we're doing a relative animation
- if ( parts[1] && typeof val != "number" )
- end = ((parts[1] == "-" ? -1 : 1) * end) + start;
+ // If a +=/-= token was provided, we're doing a relative animation
+ if ( parts[1] )
+ end = ((parts[1] == "-=" ? -1 : 1) * end) + start;