summaryrefslogtreecommitdiffstats
path: root/templates
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 /templates
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 'templates')
-rw-r--r--templates/repo/diff/box.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/repo/diff/box.tmpl b/templates/repo/diff/box.tmpl
index 9f3b271e24..9b0738b1b7 100644
--- a/templates/repo/diff/box.tmpl
+++ b/templates/repo/diff/box.tmpl
@@ -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"}}