Index: third_party/polymer/components/neon-animation/animations/scale-up-animation.html |
diff --git a/third_party/polymer/components/neon-animation/animations/scale-up-animation.html b/third_party/polymer/components/neon-animation/animations/scale-up-animation.html |
index b5164f7fe1dc5231346cfdb4fea39d17e8b84c96..42ec3f3228ff1880232c861ef11b9b6946b005f0 100644 |
--- a/third_party/polymer/components/neon-animation/animations/scale-up-animation.html |
+++ b/third_party/polymer/components/neon-animation/animations/scale-up-animation.html |
@@ -41,10 +41,6 @@ Configuration: |
configure: function(config) { |
var node = config.node; |
- if (config.transformOrigin) { |
- this.setPrefixedProperty(node, 'transformOrigin', config.transformOrigin); |
- } |
- |
var scaleProperty = 'scale(0)'; |
if (config.axis === 'x') { |
scaleProperty = 'scale(0, 1)'; |
@@ -57,6 +53,10 @@ Configuration: |
{'transform': 'scale(1, 1)'} |
], this.timingFromConfig(config)); |
+ if (config.transformOrigin) { |
+ this.setPrefixedProperty(node, 'transformOrigin', config.transformOrigin); |
+ } |
+ |
return this._effect; |
} |