diff options
author | John Olheiser <42128690+jolheiser@users.noreply.github.com> | 2020-01-01 21:02:11 -0600 |
---|---|---|
committer | Antoine GIRARD <sapk@users.noreply.github.com> | 2020-01-02 04:02:11 +0100 |
commit | b2b10858c631dea6b7ac457f8e71c61b27bf4934 (patch) | |
tree | 5179cea0cd39db9752b342096ff6ef39dd6400b5 /web_src | |
parent | 9cf7048a6a9bed8be9e02a3e0c1ae3336614cdc3 (diff) | |
download | gitea-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.js | 2 |
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')); |