summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorJonathan Tran <jonnytran@gmail.com>2021-06-16 17:56:43 -0400
committerGitHub <noreply@github.com>2021-06-16 23:56:43 +0200
commit047c39e91bb39d4f31278d8c4082187894ea8263 (patch)
treed2fe11a6fb52c91037bd0e203133b57e973fe0c9 /templates
parent92736010646d4a5cfd3430c6f57bbf4cbd8951da (diff)
downloadgitea-047c39e91bb39d4f31278d8c4082187894ea8263.tar.gz
gitea-047c39e91bb39d4f31278d8c4082187894ea8263.zip
Fix spelling (#16179)
Co-authored-by: Jonathan Tran <jon@allspice.io>
Diffstat (limited to 'templates')
-rw-r--r--templates/repo/diff/comment_form.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/repo/diff/comment_form.tmpl b/templates/repo/diff/comment_form.tmpl
index e217c4a497..9c02c9de15 100644
--- a/templates/repo/diff/comment_form.tmpl
+++ b/templates/repo/diff/comment_form.tmpl
@@ -9,7 +9,7 @@
<input type="hidden" name="diff_start_cid">
<input type="hidden" name="diff_end_cid">
<input type="hidden" name="diff_base_cid">
- <div class="ui top tabular menu" {{if not $.hidden}}onload="assingMenuAttributes(this)" {{end}}data-write="write" data-preview="preview">
+ <div class="ui top tabular menu" {{if not $.hidden}}onload="assignMenuAttributes(this)" {{end}}data-write="write" data-preview="preview">
<a class="active item" data-tab="write">{{$.root.i18n.Tr "write"}}</a>
<a class="item" data-tab="preview" data-url="{{$.root.Repository.APIURL}}/markdown" data-context="{{$.root.RepoLink}}">{{$.root.i18n.Tr "preview"}}</a>
</div>