mirror of
				https://github.com/go-gitea/gitea.git
				synced 2025-10-30 05:24:28 +01:00 
			
		
		
		
	Merge pull request #325 from nuss-justin/dev
Remove 'None yet' message when adding first label to issue.
This commit is contained in:
		
						commit
						0a739cf9ac
					
				| @ -984,12 +984,18 @@ function initIssue() { | ||||
|                     $(item).addClass("no-checked"); | ||||
| 
 | ||||
|                     $("#label-" + id, $labels).remove(); | ||||
|                      | ||||
|                     if ($labels.children(".label-item").length == 0) { | ||||
|                         $labels.append("<p>None yet</p>"); | ||||
|                     } | ||||
|                 } else { | ||||
|                     $(item).prepend('<span class="check pull-left"><i class="fa fa-check"></i></span>'); | ||||
| 
 | ||||
|                     $(item).removeClass("no-checked"); | ||||
|                     $(item).addClass("checked"); | ||||
|                      | ||||
|                     $("p:not([class])", $labels).remove(); | ||||
| 
 | ||||
|                     var $l = $("<p></p>"); | ||||
|                     var c = $("span.color", item).css("background-color"); | ||||
| 
 | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user