aboutsummaryrefslogtreecommitdiffstats
path: root/src/fx.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/fx.js')
-rwxr-xr-xsrc/fx.js8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/fx.js b/src/fx.js
index 424c952..24b992e 100755
--- a/src/fx.js
+++ b/src/fx.js
@@ -368,8 +368,10 @@ SVG.FX = SVG.invent({
, stop: function(fulfill) {
/* fulfill animation */
if (fulfill === true) {
- this.animate(0)
-
+ this.animate(0);
+ if (this._after) {
+ this._after.apply(this);
+ }
} else {
/* stop current animation */
clearTimeout(this.timeout)
@@ -452,4 +454,4 @@ SVG.FX = SVG.invent({
}
}
-}) \ No newline at end of file
+})