Skip to content

Commit

Permalink
Fix for IE 11
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolasgarnier committed Apr 29, 2019
1 parent 2a2c42c commit d0667df
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions codelab-elements/google-codelab/google_codelab.js
Original file line number Diff line number Diff line change
Expand Up @@ -568,7 +568,7 @@ class Codelab extends HTMLElement {
}
}

this.timeContainer_.forEach((timeContainer) => {
Array.prototype.forEach.call(this.timeContainer_, (timeContainer) => {
// Hide the time container if there was no time indication.
if (!time) {
timeContainer.style.display = 'none';
Expand All @@ -584,7 +584,6 @@ class Codelab extends HTMLElement {
dom.appendChild(timeContainer, newTimeEl);
}
});

}

/**
Expand Down

0 comments on commit d0667df

Please sign in to comment.