0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-11-15 06:21:23 +01:00

Fix JS error when creating new issue (#31383)

Fix #31336
This commit is contained in:
wxiaoguang 2024-06-16 10:07:21 +08:00 committed by GitHub
parent c70d4f03c9
commit f446e3b4ab
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -272,7 +272,7 @@ export function initRepoCommentForm() {
} }
$list.find('.selected').html(` $list.find('.selected').html(`
<a class="item muted sidebar-item-link" href=${htmlEscape(this.getAttribute('href'))}> <a class="item muted sidebar-item-link" href="${htmlEscape(this.getAttribute('data-href'))}">
${icon} ${icon}
${htmlEscape(this.textContent)} ${htmlEscape(this.textContent)}
</a> </a>