Skip to content

Commit e6777f7

Browse files
JulienTantlafriks
authored andcommitted
Focus title input when clicking helper link (#4696)
1 parent df0eb73 commit e6777f7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

public/js/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -954,7 +954,6 @@ String.prototype.endsWith = function (pattern) {
954954
}
955955
})(jQuery);
956956

957-
958957
function setSimpleMDE($editArea) {
959958
if (codeMirrorEditor) {
960959
codeMirrorEditor.toTextArea();
@@ -1660,6 +1659,7 @@ function initWipTitle() {
16601659
e.preventDefault();
16611660

16621661
var $issueTitle = $("#issue_title");
1662+
$issueTitle.focus();
16631663
var value = $issueTitle.val().trim().toUpperCase();
16641664

16651665
for (var i in wipPrefixes) {

0 commit comments

Comments
 (0)