diff --git a/.eslintrc b/.eslintrc index 27626d9d3..d19136991 100644 --- a/.eslintrc +++ b/.eslintrc @@ -30,6 +30,7 @@ "mozilla/import-globals-from": 1, "mozilla/this-top-level-scope": 1, + "react/jsx-boolean-value": [2, "always"], "react/jsx-equals-spacing": [2, "never"], "react/jsx-no-duplicate-props": 2, "react/jsx-no-undef": 2, diff --git a/content-src/components/MediaPreview/MediaPreview.js b/content-src/components/MediaPreview/MediaPreview.js index 24bdb6aa6..2e94c3aa3 100644 --- a/content-src/components/MediaPreview/MediaPreview.js +++ b/content-src/components/MediaPreview/MediaPreview.js @@ -31,7 +31,7 @@ const MediaPreview = React.createClass({ type="text/html" ref="previewPlayer" frameBorder="0" - allowFullScreen />); + allowFullScreen={true} />); } const style = previewInfo.thumbnail ? {backgroundImage: `url(${previewInfo.thumbnail.url})`} : null; diff --git a/content-src/components/NewTabPage/NewTabPage.js b/content-src/components/NewTabPage/NewTabPage.js index 304cd2f78..9778b2c2c 100644 --- a/content-src/components/NewTabPage/NewTabPage.js +++ b/content-src/components/NewTabPage/NewTabPage.js @@ -57,7 +57,7 @@ const NewTabPage = React.createClass({ className="loading-notice" show={!this.props.isReady} label="Hang on tight! We are analyzing your history to personalize your experience" - centered + centered={true} />
diff --git a/content-src/components/TopSites/TopSites.js b/content-src/components/TopSites/TopSites.js index bc71e26f6..5c80f8858 100644 --- a/content-src/components/TopSites/TopSites.js +++ b/content-src/components/TopSites/TopSites.js @@ -43,7 +43,7 @@ const TopSites = React.createClass({ const isActive = this.state.showContextMenu && this.state.activeTile === i; return (
this.onClick(i)} className="tile" href={site.url}> - +
{