aboutsummaryrefslogtreecommitdiffstats
path: root/src/fx.js
diff options
context:
space:
mode:
authorUlrich-Matthias Schäfer <ulima.ums@googlemail.com>2016-04-09 18:30:27 +0200
committerUlrich-Matthias Schäfer <ulima.ums@googlemail.com>2016-04-09 18:30:27 +0200
commit2d785535daf4fccb01c1b505aa3d71b2af4035e4 (patch)
treedb7f17090dc5f483b97ca708b92ecd969a98506a /src/fx.js
parent700a77060fe2b347e256abdb423c75a05613a690 (diff)
downloadsvg.js-2d785535daf4fccb01c1b505aa3d71b2af4035e4.tar.gz
svg.js-2d785535daf4fccb01c1b505aa3d71b2af4035e4.zip
fixed bug where `stop(true)` throws an error when element is not animated (#475)
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 7b23d1d..9238e2b 100644
--- a/src/fx.js
+++ b/src/fx.js
@@ -281,7 +281,7 @@ SVG.FX = SVG.invent({
this.active = false
- if(jumpToEnd){
+ if(jumpToEnd && this.situation){
this.situation.loop = false