diff --git a/public/js/gogs.js b/public/js/gogs.js index 659bc741f..9f8783cb8 100644 --- a/public/js/gogs.js +++ b/public/js/gogs.js @@ -341,7 +341,7 @@ function initRepository() { if ($('.repository.view.issue').length > 0) { // Edit issue title var $issueTitle = $('#issue-title'); - var $editInput = $('#edit-title-input input'); + var $editInput = $('#edit-title-input').find('input'); var editTitleToggle = function () { $issueTitle.toggle(); $('.not-in-edit').toggle();