diff options
Diffstat (limited to 'src/fx.js')
-rwxr-xr-x | src/fx.js | 10 |
1 files changed, 6 insertions, 4 deletions
@@ -368,10 +368,12 @@ SVG.FX = SVG.invent({ , stop: function(fulfill) { /* fulfill animation */ if (fulfill === true) { - this.animate(0); - if (this._after) { - this._after.apply(this); - } + + this.animate(0) + + if (this._after) + this._after.apply(this.target, [this]) + } else { /* stop current animation */ clearTimeout(this.timeout) |