open links in new tab #181

Merged
hughrun merged 1 commit from links into main 2024-02-11 16:42:51 +11:00
Showing only changes of commit 787ac0e85b - Show all commits

View file

@ -117,7 +117,7 @@
for (let lib of libraries) {
const li = document.createElement('li')
if (lib.url) {
li.innerHTML = `<a href="${lib.url}">${lib.name}</a>`
li.innerHTML = `<a target="_blank" href="${lib.url}" rel="noopener noreferrer">${lib.name}</a>`
} else {
li.innerText = lib.name
}