Index: third_party/polymer/components/neon-animation/animations/reverse-ripple-animation.html |
diff --git a/third_party/polymer/components/neon-animation/animations/reverse-ripple-animation.html b/third_party/polymer/components/neon-animation/animations/reverse-ripple-animation.html |
index 7284e9bd4258a1c18a8dcbcb3f8c6f27ed85e25d..f1f9de96f83be2241d2ff292394dee3f9480be22 100644 |
--- a/third_party/polymer/components/neon-animation/animations/reverse-ripple-animation.html |
+++ b/third_party/polymer/components/neon-animation/animations/reverse-ripple-animation.html |
@@ -66,13 +66,14 @@ Configuration: |
var scaleY = diameter / fromRect.height; |
var scale = 'scale(' + scaleX + ',' + scaleY + ')'; |
- this.setPrefixedProperty(shared.from, 'transformOrigin', '50% 50%'); |
- shared.from.style.borderRadius = '50%'; |
- |
this._effect = new KeyframeEffect(shared.from, [ |
{'transform': translate + ' ' + scale}, |
{'transform': translate + ' scale(0)'} |
], this.timingFromConfig(config)); |
+ |
+ this.setPrefixedProperty(shared.from, 'transformOrigin', '50% 50%'); |
+ shared.from.style.borderRadius = '50%'; |
+ |
return this._effect; |
}, |