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:
John OlheiserandLauris BH authored and Antoine GIRARD committed 2020-01-02 04:02:11 +01:00
1 parent 9cf7048a6a
commit b2b10858c6
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -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'));