Animate should absolutely position if a number is passed (Ex: -700)
This commit is contained in:
parent
e22336e7ae
commit
e4a62e4ec6
1 changed files with 1 additions and 1 deletions
|
@ -111,7 +111,7 @@ jQuery.fn.extend({
|
|||
}
|
||||
|
||||
// If a +/- token was provided, we're doing a relative animation
|
||||
if ( parts[1] )
|
||||
if ( parts[1] && typeof val != "number" )
|
||||
end = ((parts[1] == "-" ? -1 : 1) * end) + start;
|
||||
|
||||
e.custom( start, end, unit );
|
||||
|
|
Loading…
Reference in a new issue