mirror of
				https://github.com/go-gitea/gitea
				synced 2025-11-04 05:18:25 +00:00 
			
		
		
		
	fix emoji panel be removed bug in issue page, when the sub issue summit the duplicate emoji (#8609) (#8623)
This commit is contained in:
		@@ -306,7 +306,7 @@ function initReactionSelector(parent) {
 | 
				
			|||||||
            if (resp && (resp.html || resp.empty)) {
 | 
					            if (resp && (resp.html || resp.empty)) {
 | 
				
			||||||
                const content = $(vm).closest('.content');
 | 
					                const content = $(vm).closest('.content');
 | 
				
			||||||
                let react = content.find('.segment.reactions');
 | 
					                let react = content.find('.segment.reactions');
 | 
				
			||||||
                if (react.length > 0) {
 | 
					                if (!resp.empty && react.length > 0) {
 | 
				
			||||||
                    react.remove();
 | 
					                    react.remove();
 | 
				
			||||||
                }
 | 
					                }
 | 
				
			||||||
                if (!resp.empty) {
 | 
					                if (!resp.empty) {
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user