Skip to content

Commit

Permalink
Focus title input when clicking helper link (#4696)
Browse files Browse the repository at this point in the history
  • Loading branch information
JulienTant authored and lafriks committed Aug 14, 2018
1 parent df0eb73 commit e6777f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion public/js/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -954,7 +954,6 @@ String.prototype.endsWith = function (pattern) {
}
})(jQuery);


function setSimpleMDE($editArea) {
if (codeMirrorEditor) {
codeMirrorEditor.toTextArea();
Expand Down Expand Up @@ -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) {
Expand Down

0 comments on commit e6777f7

Please sign in to comment.