summaryrefslogtreecommitdiffstats
path: root/src/fx.js
diff options
context:
space:
mode:
authorwout <wout@impinc.co.uk>2014-02-05 10:23:34 +0100
committerwout <wout@impinc.co.uk>2014-02-05 10:23:34 +0100
commitc51d352babb75ef56fc71d93056a797d7f1d70c5 (patch)
treed7eadf1f246001f4a9933dfa3db60f465935a806 /src/fx.js
parent6d7675031f2428614e32420fb46ee60223d0a1b2 (diff)
downloadsvg.js-c51d352babb75ef56fc71d93056a797d7f1d70c5.tar.gz
svg.js-c51d352babb75ef56fc71d93056a797d7f1d70c5.zip
Fix in animate('=').to()
Diffstat (limited to 'src/fx.js')
-rwxr-xr-xsrc/fx.js2
1 files changed, 1 insertions, 1 deletions
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 */