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

Remove unfriendly tooltips from newtab links #7771

Merged
merged 1 commit into from
Mar 19, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions js/about/newTabComponents/footerInfo.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,11 @@

const React = require('react')
const ImmutableComponent = require('../../components/immutableComponent')
const {aboutUrls} = require('../../lib/appUrlUtil')
const aboutActions = require('../aboutActions')

class FooterInfo extends ImmutableComponent {
render () {
const openUrl = (location) => aboutActions.newFrame.bind(null, {location}, true)
return <footer className='footerContainer'>
<div className='copyrightNotice'>
{
Expand All @@ -22,9 +23,9 @@ class FooterInfo extends ImmutableComponent {
}
</div>
<nav className='shortcutsContainer'>
<a className='shortcutIcon settingsIcon' href={aboutUrls.get('about:preferences')} data-l10n-id='preferencesPage' />
<a className='shortcutIcon bookmarksIcon' href={aboutUrls.get('about:bookmarks')} data-l10n-id='bookmarksPage' />
<a className='shortcutIcon historyIcon' href={aboutUrls.get('about:history')} data-l10n-id='historyPage' />
<span className='shortcutIcon settingsIcon' onClick={openUrl('about:preferences')} data-l10n-id='preferencesPage' />
<span className='shortcutIcon bookmarksIcon' onClick={openUrl('about:bookmarks')} data-l10n-id='bookmarksPage' />
<span className='shortcutIcon historyIcon' onClick={openUrl('about:history')} data-l10n-id='historyPage' />
</nav>
</footer>
}
Expand Down