Skip to content

Commit f446e3b

Browse files
authored
Fix JS error when creating new issue (#31383)
Fix #31336
1 parent c70d4f0 commit f446e3b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

web_src/js/features/repo-legacy.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,7 @@ export function initRepoCommentForm() {
272272
}
273273

274274
$list.find('.selected').html(`
275-
<a class="item muted sidebar-item-link" href=${htmlEscape(this.getAttribute('href'))}>
275+
<a class="item muted sidebar-item-link" href="${htmlEscape(this.getAttribute('data-href'))}">
276276
${icon}
277277
${htmlEscape(this.textContent)}
278278
</a>

0 commit comments

Comments
 (0)