diff options
author | Lunny Xiao <xiaolunwen@gmail.com> | 2019-11-13 22:52:13 +0800 |
---|---|---|
committer | Antoine GIRARD <sapk@users.noreply.github.com> | 2019-11-13 15:52:13 +0100 |
commit | afe50873a5d6b52177b0cd6bc9d2657faf82f311 (patch) | |
tree | 0d9fb3ef4d4ba5739c52f2fcb38ad96263346f08 /templates/repo/diff | |
parent | 71395dffd0db0c53353e4b0cf0d687ece0032597 (diff) | |
download | gitea-afe50873a5d6b52177b0cd6bc9d2657faf82f311.tar.gz gitea-afe50873a5d6b52177b0cd6bc9d2657faf82f311.zip |
Move index.js to web_src and use webpack to pack them (#8598)
* Move index.js to web_src and use webpack
* Fix initHeatMap
* update eslint and move webpack to devDependencies
* update index.js
* add eslint env node
Diffstat (limited to 'templates/repo/diff')
-rw-r--r-- | templates/repo/diff/comment_form.tmpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/repo/diff/comment_form.tmpl b/templates/repo/diff/comment_form.tmpl index 38fd3fa7fb..573e7d4638 100644 --- a/templates/repo/diff/comment_form.tmpl +++ b/templates/repo/diff/comment_form.tmpl @@ -39,7 +39,7 @@ {{end}} {{end}} {{if or (not $.HasComments) $.hidden}} - <button type="button" class="ui submit tiny basic button btn-cancel" onclick="cancelCodeComment(this);">{{$.root.i18n.Tr "cancel"}}</button> + <button type="button" class="ui submit tiny basic button btn-cancel" onclick="window.cancelCodeComment(this);">{{$.root.i18n.Tr "cancel"}}</button> {{end}} </div> </div> |