Skip to content

Commit

Permalink
Unmount suggestion feedback component
Browse files Browse the repository at this point in the history
  • Loading branch information
ta2-1 committed Apr 28, 2016
1 parent fcd6503 commit 1df2840
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pootle/static/js/editor/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -2415,7 +2415,7 @@ PTL.editor = {
const feedbackMountPoint = document.querySelector('.js-mnt-suggestion-feedback');
editorBody.classList.remove('suggestion-expanded');
suggestion.classList.remove('suggestion-expanded');
feedbackMountPoint.removeChild(feedbackMountPoint.childNodes[0]);
ReactDOM.unmountComponentAtNode(feedbackMountPoint);
this.selectedSuggestionId = undefined;
this.suggestionFeedbackForm = undefined;
this.isSuggestionFeedbackFormDirty = false;
Expand Down

0 comments on commit 1df2840

Please sign in to comment.