summaryrefslogtreecommitdiffstats
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 c87baa48a9..25a1dc1336 100644
--- a/public/js/gogs.js
+++ b/public/js/gogs.js
@@ -779,7 +779,7 @@ function initEditor() {
});
if ($(this).val())
parts.push($(this).val());
- $('#tree-name').val(parts.join('/'));
+ $('#tree_path').val(parts.join('/'));
}).trigger('keyup');
var $editArea = $('.repository.editor textarea#edit_area');