Index: third_party/polymer/components/neon-animation/animations/slide-down-animation.html |
diff --git a/third_party/polymer/components/neon-animation/animations/slide-down-animation.html b/third_party/polymer/components/neon-animation/animations/slide-down-animation.html |
index c17141f25eb0b0e23d33231f4b8785d03d684a3c..9db28dd17e55ebc4b3e4a0a8298f45f9cc02ee07 100644 |
--- a/third_party/polymer/components/neon-animation/animations/slide-down-animation.html |
+++ b/third_party/polymer/components/neon-animation/animations/slide-down-animation.html |
@@ -40,17 +40,17 @@ Configuration: |
configure: function(config) { |
var node = config.node; |
+ this._effect = new KeyframeEffect(node, [ |
+ {'transform': 'translateY(0%)'}, |
+ {'transform': 'translateY(100%)'} |
+ ], this.timingFromConfig(config)); |
+ |
if (config.transformOrigin) { |
this.setPrefixedProperty(node, 'transformOrigin', config.transformOrigin); |
} else { |
this.setPrefixedProperty(node, 'transformOrigin', '50% 0'); |
} |
- this._effect = new KeyframeEffect(node, [ |
- {'transform': 'translateY(0%)'}, |
- {'transform': 'translateY(100%)'} |
- ], this.timingFromConfig(config)); |
- |
return this._effect; |
} |