change id in the explaination section

This commit is contained in:
Beu
2020-12-15 01:53:49 +01:00
parent e8b3a4ebd0
commit 8c32797fb9
2 changed files with 9 additions and 3 deletions

View File

@@ -42,6 +42,12 @@ function upload_file(file_obj,file_name)
divresponse.innerHTML = text ;
document.getElementById('copytoclipboard').style.visibility = "visible";
if (text.startsWith("http")) {
var fturl = document.getElementsByTagName("fturl");
console.log(fturl);
Array.from(fturl).forEach(tag => tag.innerHTML = text);
}
}
request();