Skip to content

Commit

Permalink
Merge pull request #516 from PolymerElements/fix-annotations
Browse files Browse the repository at this point in the history
Fix annotations
  • Loading branch information
valdrinkoshi authored Oct 11, 2017
2 parents 502cbfe + 58d536e commit c388127
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app-header/app-header.html
Original file line number Diff line number Diff line change
Expand Up @@ -452,7 +452,7 @@ <h1 main-title>App name</h1>
}
var nodes = Polymer.dom(this.$.slot).getDistributedNodes();
// Get the element with the sticky attribute on it or the first element in the light DOM.
for (var i = 0, node; node = nodes[i]; i++) {
for (var i = 0, node; node = /** @type {!HTMLElement} */ (nodes[i]); i++) {
if (node.nodeType === Node.ELEMENT_NODE) {
if (node.hasAttribute('sticky')) {
this._stickyElRef = node;
Expand Down
2 changes: 1 addition & 1 deletion app-scroll-effects/effects/parallax-background.html
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
if (isNaN(scalar)) {
scalar = 0.8;
}
fx.deltaBg = this._dHeight * scalar;
fx.deltaBg = (this._dHeight || 0) * scalar;
} else {
if (isNaN(scalar)) {
scalar = 1;
Expand Down

0 comments on commit c388127

Please sign in to comment.