1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-13 01:36:22 +00:00

Rename handleDeleteButtonClick to handleTrashButtonClick

This commit is contained in:
asmsuechan
2017-07-07 20:04:09 +09:00
parent 44fc356775
commit 1b07d393f2
2 changed files with 3 additions and 3 deletions

View File

@@ -166,7 +166,7 @@ class SnippetNoteDetail extends React.Component {
}
handleDeleteButtonClick (e) {
handleTrashButtonClick (e) {
let index = dialog.showMessageBox(remote.getCurrentWindow(), {
type: 'warning',
message: 'Delete a note',
@@ -520,7 +520,7 @@ class SnippetNoteDetail extends React.Component {
</div>
<div styleName='info-right'>
<TrashButton
onClick={(e) => this.handleDeleteButtonClick(e)}
onClick={(e) => this.handleTrashButtonClick(e)}
/>
<button styleName='control-fullScreenButton'
onMouseDown={(e) => this.handleFullScreenButton(e)}