mirror of
https://github.com/BoostIo/Boostnote
synced 2025-12-13 17:56:25 +00:00
Change the tooltip text of the lock button for easy to understand what its role
This commit is contained in:
@@ -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 (
|
||||||
|
|||||||
Reference in New Issue
Block a user