mirror of
https://github.com/DMOJ/online-judge.git
synced 2024-11-25 16:32:37 +08:00
Fix markdown preview not working when replying to comments
Also happens to fix #1456.
This commit is contained in:
parent
c8ccc2e366
commit
e7c33591a1
@ -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();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user