diff options
author | Unknwon <u@gogs.io> | 2015-08-30 00:22:26 +0800 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2015-08-30 00:22:26 +0800 |
commit | 302938e646d764cb7f0f63720d6b44fd1fa6e065 (patch) | |
tree | dfb4f75d71f9db406ea2155159282268226ab8b7 /public | |
parent | 8d73832bdfeecb3889cf5a1f2b4e41b9d4d37f62 (diff) | |
download | gitea-302938e646d764cb7f0f63720d6b44fd1fa6e065.tar.gz gitea-302938e646d764cb7f0f63720d6b44fd1fa6e065.zip |
#1333 Disable Gravatar option when install
Diffstat (limited to 'public')
-rw-r--r-- | public/js/gogs.js | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/public/js/gogs.js b/public/js/gogs.js index 6827aada84..995b6f1ded 100644 --- a/public/js/gogs.js +++ b/public/js/gogs.js @@ -169,6 +169,12 @@ function initInstall() { } } }); + + $('#offline-mode input').change(function () { + if ($(this).is(':checked')) { + $('#disable-gravatar').checkbox('check'); + } + }); }; function initRepository() { |