mirror of
				https://github.com/go-gitea/gitea
				synced 2025-10-31 03:18:24 +00:00 
			
		
		
		
	Change ID pattern of raw content container for issue (#21966)
Implement differentiation to html id for issue raw content container. Fixes #21965
This commit is contained in:
		
				
					committed by
					
						 GitHub
						GitHub
					
				
			
			
				
	
			
			
			
						parent
						
							2779d47ad3
						
					
				
				
					commit
					097d4e30b1
				
			| @@ -553,7 +553,7 @@ export function initRepoIssueReferenceIssue() { | ||||
|     const $this = $(this); | ||||
|     $this.closest('.dropdown').find('.menu').toggle('visible'); | ||||
|  | ||||
|     const content = $(`#comment-${$this.data('target')}`).text(); | ||||
|     const content = $(`#${$this.data('target')}`).text(); | ||||
|     const poster = $this.data('poster-username'); | ||||
|     const reference = $this.data('reference'); | ||||
|     const $modal = $($this.data('modal')); | ||||
|   | ||||
| @@ -566,7 +566,7 @@ function initRepoIssueCommentEdit() { | ||||
|   $(document).on('click', '.quote-reply', function (event) { | ||||
|     $(this).closest('.dropdown').find('.menu').toggle('visible'); | ||||
|     const target = $(this).data('target'); | ||||
|     const quote = $(`#comment-${target}`).text().replace(/\n/g, '\n> '); | ||||
|     const quote = $(`#${target}`).text().replace(/\n/g, '\n> '); | ||||
|     const content = `> ${quote}\n\n`; | ||||
|     let easyMDE; | ||||
|     if ($(this).hasClass('quote-reply-diff')) { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user