Index: third_party/polymer/components/neon-animation/neon-animated-pages.html |
diff --git a/third_party/polymer/components/neon-animation/neon-animated-pages.html b/third_party/polymer/components/neon-animation/neon-animated-pages.html |
index b115ae20e865d72aa5b1c57bf13dbb2476ce8da5..4cc94c72b6e1958ace9e8811936aa384f89e8e3b 100644 |
--- a/third_party/polymer/components/neon-animation/neon-animated-pages.html |
+++ b/third_party/polymer/components/neon-animation/neon-animated-pages.html |
@@ -98,7 +98,7 @@ animations to be run when switching to or switching out of the page. |
if (this.items.indexOf(selectedPage) < 0) { |
return; |
} |
- |
+ |
var oldPage = this._valueToItem(this._prevSelected) || false; |
this._prevSelected = this.selected; |
@@ -108,11 +108,7 @@ animations to be run when switching to or switching out of the page. |
return; |
} |
- // insert safari fix. |
- this.animationConfig = [{ |
- name: 'opaque-animation', |
- node: selectedPage |
- }]; |
+ this.animationConfig = []; |
// configure selectedPage animations. |
if (this.entryAnimation) { |
@@ -163,7 +159,7 @@ animations to be run when switching to or switching out of the page. |
selectedPage.classList.add('neon-animating'); |
// actually run the animations. |
- if (this.animationConfig.length > 1) { |
+ if (this.animationConfig.length >= 1) { |
// on first load, ensure we run animations only after element is attached. |
if (!this.isAttached) { |