Ouvre les liens dans un nouvel onglet sur la page d’accueil
This commit is contained in:
parent
d140d45ce4
commit
e66955cabe
1 changed files with 1 additions and 1 deletions
|
@ -23,7 +23,7 @@ function upload(file,exp,maxdl) {
|
||||||
|
|
||||||
// Links response
|
// Links response
|
||||||
xhr.onload = () => {
|
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
|
// create and send the request
|
||||||
|
|
Loading…
Reference in a new issue