summaryrefslogtreecommitdiffstats
path: root/web_src
diff options
context:
space:
mode:
authorJohn Olheiser <42128690+jolheiser@users.noreply.github.com>2020-01-01 21:02:11 -0600
committerAntoine GIRARD <sapk@users.noreply.github.com>2020-01-02 04:02:11 +0100
commitb2b10858c631dea6b7ac457f8e71c61b27bf4934 (patch)
tree5179cea0cd39db9752b342096ff6ef39dd6400b5 /web_src
parent9cf7048a6a9bed8be9e02a3e0c1ae3336614cdc3 (diff)
downloadgitea-b2b10858c631dea6b7ac457f8e71c61b27bf4934.tar.gz
gitea-b2b10858c631dea6b7ac457f8e71c61b27bf4934.zip
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>
Diffstat (limited to 'web_src')
-rw-r--r--web_src/js/index.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/web_src/js/index.js b/web_src/js/index.js
index f4f08b828c..3751c6d9e4 100644
--- a/web_src/js/index.js
+++ b/web_src/js/index.js
@@ -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'));