diff options
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() { |