diff options
author | Unknwon <u@gogs.io> | 2015-09-01 09:37:41 -0400 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2015-09-01 09:37:41 -0400 |
commit | dde9ace91b3e492386d4b31996ae970f5c9c10bd (patch) | |
tree | c35e85cd05980ade6eb556effe4b35665d9886f0 /public/js | |
parent | 8af094967fb0c09db817999bf8ff209251b183b8 (diff) | |
download | gitea-dde9ace91b3e492386d4b31996ae970f5c9c10bd.tar.gz gitea-dde9ace91b3e492386d4b31996ae970f5c9c10bd.zip |
fix rename repo JS
Diffstat (limited to 'public/js')
-rw-r--r-- | public/js/gogs.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/public/js/gogs.js b/public/js/gogs.js index aed4ec7ac6..89e5ef89d7 100644 --- a/public/js/gogs.js +++ b/public/js/gogs.js @@ -186,7 +186,7 @@ function initRepository() { if ($('.repository.settings.options').length > 0) { $('#repo_name').keyup(function () { var $prompt_span = $('#repo-name-change-prompt'); - if ($(this).val().toLowerCase() != $(this).data('repo-name').toLowerCase()) { + if ($(this).val().toString().toLowerCase() != $(this).data('repo-name').toString().toLowerCase()) { $prompt_span.show(); } else { $prompt_span.hide(); |