From 8d2a69c366f4315c8463264ded53adc5a25ac677 Mon Sep 17 00:00:00 2001 From: Raine Date: Mon, 16 Oct 2023 01:36:02 +0200 Subject: [PATCH] feat: headers on issues are links. --- public/obj/js/issues.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/public/obj/js/issues.js b/public/obj/js/issues.js index 85bfdd5..6c3bebf 100644 --- a/public/obj/js/issues.js +++ b/public/obj/js/issues.js @@ -13,7 +13,8 @@ async function updateIssues() { detailsDiv.classList.add("issue-details"); issueDiv.append(detailsDiv); - let titleSpan = document.createElement("span"); + let titleSpan = document.createElement("a"); + titleSpan.href = issue.url; titleSpan.classList.add("issue-title"); detailsDiv.append(titleSpan); titleSpan.innerText = issue.title;