feat: headers on issues are links.

This commit is contained in:
Strix 2023-10-16 01:36:02 +02:00
parent 732235671f
commit 8d2a69c366
No known key found for this signature in database
GPG key ID: 49B2E37B8915B774

View file

@ -13,7 +13,8 @@ async function updateIssues() {
detailsDiv.classList.add("issue-details"); detailsDiv.classList.add("issue-details");
issueDiv.append(detailsDiv); issueDiv.append(detailsDiv);
let titleSpan = document.createElement("span"); let titleSpan = document.createElement("a");
titleSpan.href = issue.url;
titleSpan.classList.add("issue-title"); titleSpan.classList.add("issue-title");
detailsDiv.append(titleSpan); detailsDiv.append(titleSpan);
titleSpan.innerText = issue.title; titleSpan.innerText = issue.title;