From f8a48ffaad481ee9eaa8a42e0e7d64c12c90ef86 Mon Sep 17 00:00:00 2001 From: Unknwon Date: Wed, 24 Aug 2016 21:35:03 -0700 Subject: Web editor: improve code quality --- public/js/gogs.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'public/js') diff --git a/public/js/gogs.js b/public/js/gogs.js index c87baa48..25a1dc13 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'); -- cgit v1.2.3