From a957a7805dde673d17ee4464a647262225e285e6 Mon Sep 17 00:00:00 2001 From: Julien Tant Date: Mon, 13 Aug 2018 23:01:28 +0200 Subject: [PATCH] Focus title input when clicking helper link --- public/js/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/js/index.js b/public/js/index.js index a4702a4138f7..c90e129ce36b 100644 --- a/public/js/index.js +++ b/public/js/index.js @@ -954,7 +954,6 @@ String.prototype.endsWith = function (pattern) { } })(jQuery); - function setSimpleMDE($editArea) { if (codeMirrorEditor) { codeMirrorEditor.toTextArea(); @@ -1660,6 +1659,7 @@ function initWipTitle() { e.preventDefault(); var $issueTitle = $("#issue_title"); + $issueTitle.focus(); var value = $issueTitle.val().trim().toUpperCase(); for (var i in wipPrefixes) {