aboutsummaryrefslogtreecommitdiff
path: root/public/js/gogs.js
diff options
context:
space:
mode:
Diffstat (limited to 'public/js/gogs.js')
-rw-r--r--public/js/gogs.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/public/js/gogs.js b/public/js/gogs.js
index aed4ec7a..89e5ef89 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();