mirror of
https://github.com/rr-/szurubooru.git
synced 2025-07-17 08:26:24 +00:00
client/comments: fix canceling preview
This commit is contained in:
@ -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() {
|
||||
|
Reference in New Issue
Block a user