open links in new tab
This commit is contained in:
parent
896152fe9b
commit
787ac0e85b
|
@ -117,7 +117,7 @@
|
||||||
for (let lib of libraries) {
|
for (let lib of libraries) {
|
||||||
const li = document.createElement('li')
|
const li = document.createElement('li')
|
||||||
if (lib.url) {
|
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 {
|
} else {
|
||||||
li.innerText = lib.name
|
li.innerText = lib.name
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue