client/comments: fix canceling preview

This commit is contained in:
rr- 2016-06-12 22:33:31 +02:00
parent 7a6d25ac43
commit f24ea3450d

View file

@ -62,8 +62,7 @@ class CommentFormControl {
this._hostNode.querySelector('.tabs-wrapper').style.minHeight = null;
misc.disableExitConfirmation();
views.clearMessages(this._hostNode);
this._hostNode.querySelector('.edit.tab textarea').value =
this._comment.text;
this.setText(this._comment.text);
}
get _textareaNode() {