open links in new tab
This commit is contained in:
parent
896152fe9b
commit
787ac0e85b
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue