Skip to content
This repository has been archived by the owner on Dec 11, 2019. It is now read-only.

Commit

Permalink
Remove row control for topSites on new tab page
Browse files Browse the repository at this point in the history
fix #5482

Auditors: @bbondy

Test Plan:

* there should be no row control for topSites
  • Loading branch information
cezaraugusto committed Nov 8, 2016
1 parent 545b066 commit 9673628
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions js/about/newtab.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ const aboutActions = require('./aboutActions')
const siteUtil = require('../state/siteUtil')
const urlutils = require('../lib/urlutil')
const siteTags = require('../constants/siteTags')
const cx = require('../lib/classSet.js')
const config = require('../constants/config')
const backgrounds = require('../data/backgrounds')

Expand Down Expand Up @@ -262,7 +261,6 @@ class NewTabPage extends React.Component {
return null
}

const gridLayoutSize = this.gridLayoutSize
const gridLayout = this.gridLayout

const getLetterFromUrl = (url) => {
Expand All @@ -285,15 +283,6 @@ class NewTabPage extends React.Component {
<Clock />
</div>
<div className='topSitesContainer'>
<button
className={cx({
toggleTopSitesGridIcon: true,
hasThreeRows: gridLayoutSize === 'large',
hasTwoRows: gridLayoutSize === 'medium',
hasOneRow: gridLayoutSize === 'small'
})}
onClick={this.onChangeGridLayout.bind(this)}
/>
<nav className='topSitesGrid'>
{
gridLayout.map((site) =>
Expand Down

0 comments on commit 9673628

Please sign in to comment.