mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-12-23 05:44:25 +01:00
Focus title input when clicking helper link (#4696)
This commit is contained in:
parent
df0eb7372c
commit
e6777f7b9d
1 changed files with 1 additions and 1 deletions
|
@ -954,7 +954,6 @@ String.prototype.endsWith = function (pattern) {
|
||||||
}
|
}
|
||||||
})(jQuery);
|
})(jQuery);
|
||||||
|
|
||||||
|
|
||||||
function setSimpleMDE($editArea) {
|
function setSimpleMDE($editArea) {
|
||||||
if (codeMirrorEditor) {
|
if (codeMirrorEditor) {
|
||||||
codeMirrorEditor.toTextArea();
|
codeMirrorEditor.toTextArea();
|
||||||
|
@ -1660,6 +1659,7 @@ function initWipTitle() {
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
|
|
||||||
var $issueTitle = $("#issue_title");
|
var $issueTitle = $("#issue_title");
|
||||||
|
$issueTitle.focus();
|
||||||
var value = $issueTitle.val().trim().toUpperCase();
|
var value = $issueTitle.val().trim().toUpperCase();
|
||||||
|
|
||||||
for (var i in wipPrefixes) {
|
for (var i in wipPrefixes) {
|
||||||
|
|
Loading…
Reference in a new issue