From c51d352babb75ef56fc71d93056a797d7f1d70c5 Mon Sep 17 00:00:00 2001 From: wout Date: Wed, 5 Feb 2014 10:23:34 +0100 Subject: Fix in animate('=').to() --- src/fx.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/fx.js b/src/fx.js index c1850c0..41629ed 100755 --- a/src/fx.js +++ b/src/fx.js @@ -18,7 +18,7 @@ SVG.extend(SVG.FX, { } /* ensure default duration and easing */ - d = d == null ? 1000 : new SVG.Number(d).valueOf() + d = d == '=' ? d : d == null ? 1000 : new SVG.Number(d).valueOf() ease = ease || '<>' /* process values */ -- cgit v1.2.3