mirror of
https://github.com/go-gitea/gitea
synced 2024-11-25 09:32:49 +01:00
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:
parent
9cf7048a6a
commit
b2b10858c6
2 changed files with 2 additions and 2 deletions
|
@ -213,7 +213,7 @@
|
|||
<a class="preview item" data-url="{{$.Repository.APIURL}}/markdown" data-context="{{$.RepoLink}}">{{$.i18n.Tr "preview"}}</a>
|
||||
</div>
|
||||
<div class="ui bottom attached active write tab segment">
|
||||
<textarea tabindex="1" name="content"></textarea>
|
||||
<textarea class="review-textarea" tabindex="1" name="content"></textarea>
|
||||
</div>
|
||||
<div class="ui bottom attached tab preview segment markdown">
|
||||
{{$.i18n.Tr "loading"}}
|
||||
|
|
|
@ -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'));
|
||||
|
|
Loading…
Reference in a new issue