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

Commit

Permalink
Fix copy to clipboard tooltip
Browse files Browse the repository at this point in the history
Fixes #8199
  • Loading branch information
Liunkae authored and bsclifton committed Apr 10, 2017
1 parent cc6ba03 commit 45b009c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
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

0 comments on commit 45b009c

Please sign in to comment.