Skip to content

Commit

Permalink
typos/style fix: (#744)
Browse files Browse the repository at this point in the history
- fix insert typo in home.js
- use forEach instead of for to adhere to style
  • Loading branch information
ikreymer committed Aug 30, 2019
1 parent 6b40774 commit d0f6c46
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 3 additions & 1 deletion frontend/src/containers/Home/Home.js
Expand Up @@ -145,7 +145,9 @@ class Home extends PureComponent {
<HomepageAnnouncement />
}

this.homepageMarketing()
{
this.homepageMarketing()
}
</React.Fragment>
);
}
Expand Down
4 changes: 2 additions & 2 deletions frontend/src/helpers/utils.js
Expand Up @@ -42,11 +42,11 @@ export function apiFormatUrl(path) {


export function appendFlashVersion(version) {
for (let plugin of navigator.plugins) {
navigator.plugins.forEach((plugin) => {
if (plugin.name === "Shockwave Flash") {
return `${version}<BR>${plugin.description.toLowerCase()}`;
}
}
});
return version;
}

Expand Down

0 comments on commit d0f6c46

Please sign in to comment.