summaryrefslogtreecommitdiffstats
path: root/src/fx.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/fx.js')
-rw-r--r--src/fx.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fx.js b/src/fx.js
index 98ded65..9fbbdd8 100644
--- a/src/fx.js
+++ b/src/fx.js
@@ -858,7 +858,7 @@ SVG.extend(SVG.FX, {
// Add animatable viewbox
, viewbox: function(x, y, width, height) {
if (this.target() instanceof SVG.Container) {
- this.add('viewbox', new SVG.ViewBox(x, y, width, height))
+ this.add('viewbox', new SVG.Box(x, y, width, height))
}
return this