Don't auto-init SimpleMDE for review textarea (#9574)
Signed-off-by: jolheiser <john.olheiser@gmail.com> Co-authored-by: Lauris BH <lauris@nix.lv>
This commit is contained in:

committed by
Antoine GIRARD

parent
9cf7048a6a
commit
b2b10858c6
@ -325,7 +325,7 @@ function initCommentForm() {
|
||||
return;
|
||||
}
|
||||
|
||||
setCommentSimpleMDE($('.comment.form textarea'));
|
||||
setCommentSimpleMDE($('.comment.form textarea:not(.review-textarea)'));
|
||||
initBranchSelector();
|
||||
initCommentPreviewTab($('.comment.form'));
|
||||
initImagePaste($('.comment.form textarea'));
|
||||
|
Reference in New Issue
Block a user