Ouvre les liens dans un nouvel onglet sur la page d’accueil

This commit is contained in:
Breizh 2021-06-06 14:43:27 +02:00
parent d140d45ce4
commit e66955cabe

View file

@ -23,7 +23,7 @@ function upload(file,exp,maxdl) {
// Links response
xhr.onload = () => {
entry.innerHTML = '<a href="' + xhr.responseText + '">' + xhr.responseText + '</a>';
entry.innerHTML = '<a target="_blank" href="' + xhr.responseText + '">' + xhr.responseText + '</a>';
};
// create and send the request