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

Fix copy to clipboard tooltip #8201

Merged
merged 1 commit into from
Apr 10, 2017
Merged
Show file tree
Hide file tree
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
3 changes: 2 additions & 1 deletion app/renderer/components/clipboardButton.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,10 @@ class ClipboardButton extends React.Component {
<span className={css(
styles.doneLabel,
this.state.visibleLabel && styles.visible
)} onAnimationEnd={this.onAnimationEnd} data-l10n-id='copied'>Copiesd!</span>
)} onAnimationEnd={this.onAnimationEnd} data-l10n-id='copied' />
<span
className={this.props.className}
data-l10n-id={this.props.dataL10nId}
onClick={this.onClick}>
{
this.props.textContext
Expand Down
2 changes: 1 addition & 1 deletion js/about/brave.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ class AboutBrave extends React.Component {
<div className='title'>
<span className='sectionTitle' data-l10n-id='versionInformation' />
<ClipboardButton
data-l10n-id='copyToClipboard'
dataL10nId='copyToClipboard'
className='fa fa-clipboard'
copyAction={this.onCopy}
/>
Expand Down