1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-13 17:56:25 +00:00

Merge pull request #1014 from asmsuechan/improve-lock-tooltip-text

Change the tooltip text of the lock button for easy to understand what its role
This commit is contained in:
Kazu Yokomizo
2017-10-26 13:49:57 +09:00
committed by GitHub

View File

@@ -334,7 +334,7 @@ class MarkdownNoteDetail extends React.Component {
> >
<i className={faClassName} styleName='lock-button' /> <i className={faClassName} styleName='lock-button' />
<span styleName='control-lockButton-tooltip'> <span styleName='control-lockButton-tooltip'>
{this.state.isLocked ? 'Unlock' : 'Lock'} {this.state.isLocked ? 'Unlock Editor' : 'Keep Editor Locked'}
</span> </span>
</button> </button>
return ( return (