Fix markdown preview not working when replying to comments

Also happens to fix #1456.
This commit is contained in:
Evan 2020-10-01 10:14:38 -04:00 committed by Tudor Brindus
parent c8ccc2e366
commit e7c33591a1

View File

@ -39,6 +39,7 @@
$reply_form.prepend('<a class="close">x</a>');
$reply_form.find('form.comment-submit-form input#id_parent').val(parent);
$reply_form.appendTo($comment_reply);
register_dmmd_preview($('#' + reply_id + ' #id_body-preview'));
}
$comment_reply.fadeIn();