We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 168c2a4 + 17f1296 commit 193a64cCopy full SHA for 193a64c
helpers/helpers.html
@@ -133,7 +133,9 @@
133
// This seems to only apply when using document scrolling.
134
// Therefore, when should we remove the class from the document element?
135
136
- window.cancelAnimationFrame(Polymer.AppLayout._scrollTimer);
+ if (Polymer.AppLayout._scrollTimer) {
137
+ window.cancelAnimationFrame(Polymer.AppLayout._scrollTimer);
138
+ }
139
140
Polymer.AppLayout._scrollTimer = window.requestAnimationFrame(function() {
141
headers.forEach(function(header) {
0 commit comments