This commit is contained in:
Tom Moor
2019-04-20 15:31:51 -07:00
parent 8f276731ed
commit a256eba856

View File

@@ -117,8 +117,10 @@ class DocumentScene extends React.Component<Props> {
@keydown('esc')
goBack(ev) {
ev.preventDefault();
this.props.history.goBack();
if (this.isEditing) {
ev.preventDefault();
this.props.history.goBack();
}
}
@keydown('h')