Skip to content

Commit

Permalink
Fix comment editing when analysis is ongoing
Browse files Browse the repository at this point in the history
Fix #637
  • Loading branch information
yishn committed Mar 1, 2020
1 parent 88f22f1 commit fc697dc
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion src/components/MainView.js
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,6 @@ export default class MainView extends Component {
highlightVertices:
findVertex && mode === 'find' ? [findVertex] : highlightVertices,
analysis:
mode === 'play' &&
analysisTreePosition != null &&
analysisTreePosition === treePosition
? analysis
Expand Down
1 change: 0 additions & 1 deletion src/components/sidebars/CommentBox.js
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,6 @@ export default class CommentBox extends Component {
this.element.scrollTop = 0
if (treePositionChanged) this.textareaElement.scrollTop = 0

this.setState({title, comment})
return
}

Expand Down

0 comments on commit fc697dc

Please sign in to comment.