js: use jQuery .find() (#4343)

pull/4361/head
Hassan Amouhzi 2017-03-28 23:36:48 +02:00 committed by 无闻
parent abe7f7bc36
commit 864761c2d0
1 changed files with 1 additions and 1 deletions

View File

@ -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();