Index: third_party/polymer/components/neon-animation/animations/slide-up-animation.html |
diff --git a/third_party/polymer/components/neon-animation/animations/slide-up-animation.html b/third_party/polymer/components/neon-animation/animations/slide-up-animation.html |
index fdf1186d1605bb648db384a330cc182e750a1d4b..6464e78ed33702142095fdf6d50a9060b6ed7775 100644 |
--- a/third_party/polymer/components/neon-animation/animations/slide-up-animation.html |
+++ b/third_party/polymer/components/neon-animation/animations/slide-up-animation.html |
@@ -40,17 +40,17 @@ Configuration: |
configure: function(config) { |
var node = config.node; |
+ this._effect = new KeyframeEffect(node, [ |
+ {'transform': 'translate(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': 'translate(0)'}, |
- {'transform': 'translateY(-100%)'} |
- ], this.timingFromConfig(config)); |
- |
return this._effect; |
} |