Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
andyklimczak committed Jan 31, 2018
1 parent d894bb4 commit 3fbed87
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion browser/main/Detail/MarkdownNoteDetail.js
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,7 @@ class MarkdownNoteDetail extends React.Component {
}
ee.once('list:moved', dispatchHandler)
})
.then(() => ee.emit('list:moved'))
}
} else {
if (confirmDeletion()) {
Expand All @@ -210,9 +211,9 @@ class MarkdownNoteDetail extends React.Component {
}, () => {
this.save()
})
ee.emit('list:next')
}
}
ee.emit('list:next')
}

handleUndoButtonClick (e) {
Expand Down
3 changes: 2 additions & 1 deletion browser/main/Detail/SnippetNoteDetail.js
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,7 @@ class SnippetNoteDetail extends React.Component {
}
ee.once('list:moved', dispatchHandler)
})
.then(() => ee.emit('list:moved'))
}
} else {
if (confirmDeletion()) {
Expand All @@ -203,9 +204,9 @@ class SnippetNoteDetail extends React.Component {
}, () => {
this.save()
})
ee.emit('list:next')
}
}
ee.emit('list:next')
}

handleUndoButtonClick (e) {
Expand Down

0 comments on commit 3fbed87

Please sign in to comment.