summaryrefslogtreecommitdiffstats
path: root/templates/user/auth
diff options
context:
space:
mode:
authorLunny Xiao <xiaolunwen@gmail.com>2019-11-13 22:52:13 +0800
committerAntoine GIRARD <sapk@users.noreply.github.com>2019-11-13 15:52:13 +0100
commitafe50873a5d6b52177b0cd6bc9d2657faf82f311 (patch)
tree0d9fb3ef4d4ba5739c52f2fcb38ad96263346f08 /templates/user/auth
parent71395dffd0db0c53353e4b0cf0d687ece0032597 (diff)
downloadgitea-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/user/auth')
-rw-r--r--templates/user/auth/signin_inner.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/user/auth/signin_inner.tmpl b/templates/user/auth/signin_inner.tmpl
index 07f85c954f..90519c439c 100644
--- a/templates/user/auth/signin_inner.tmpl
+++ b/templates/user/auth/signin_inner.tmpl
@@ -65,7 +65,7 @@
title="{{$provider.DisplayName}}{{if eq $provider.Name "openidConnect"}} ({{$key}}){{end}}"
class="{{$provider.Name}}"
src="{{AppSubUrl}}{{$provider.Image}}"
- onclick="onOAuthLoginClick()"
+ onclick="window.onOAuthLoginClick()"
></a>
{{end}}
</div>