summaryrefslogtreecommitdiffstats
path: root/src/fx.js
diff options
context:
space:
mode:
authorwout <wout@impinc.co.uk>2014-02-03 22:05:28 +0100
committerwout <wout@impinc.co.uk>2014-02-03 22:05:28 +0100
commitce16057a3e65e5e5040e2e8c6ffb697a6ec2cc9c (patch)
tree9faac42eef9e4cd79eee8e0be95864d18f578faf /src/fx.js
parent189f009dbb28525f3eb2c0bb7a72312cb6fe4ba6 (diff)
downloadsvg.js-ce16057a3e65e5e5040e2e8c6ffb697a6ec2cc9c.tar.gz
svg.js-ce16057a3e65e5e5040e2e8c6ffb697a6ec2cc9c.zip
Wrapping delay in SVG.Number
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 e802455..c1850c0 100755
--- a/src/fx.js
+++ b/src/fx.js
@@ -190,7 +190,7 @@ SVG.extend(SVG.FX, {
/* start animation */
fx.render()
- }, delay || 0)
+ }, new SVG.Number(delay).valueOf())
}
return this