mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 16:40:24 +08:00 
			
		
		
		
	Add compare tag dropdown to releases page (#15695)
* Add compare tag dropdown to releases page * Change defaults to be more intuitive and remove unneeded option * Fix to select branch on releases page Co-authored-by: Jonathan Tran <jon@allspice.io> Co-authored-by: Kyle D <kdumontnu@gmail.com>
This commit is contained in:
		@@ -781,7 +781,8 @@ async function initRepository() {
 | 
			
		||||
  });
 | 
			
		||||
 | 
			
		||||
  // File list and commits
 | 
			
		||||
  if ($('.repository.file.list').length > 0 || ('.repository.commits').length > 0) {
 | 
			
		||||
  if ($('.repository.file.list').length > 0 ||
 | 
			
		||||
    $('.repository.commits').length > 0 || $('.repository.release').length > 0) {
 | 
			
		||||
    initFilterBranchTagDropdown('.choose.reference .dropdown');
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user