mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 08:30:25 +08:00 
			
		
		
		
	Focus title input when clicking helper link (#4696)
This commit is contained in:
		@@ -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) {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user