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:
Felipe Leopoldo Sologuren Gutiérrez authored and GitHub committed 2022-12-10 00:25:32 +08:00
1 parent 2779d47ad3
commit 097d4e30b1
6 files changed
+9 -9

No files matched your search

+1 -1
View File
@@ -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'));