Fix bug with html link not being updated.
This commit is contained in:
+5
-4
@@ -29,12 +29,13 @@ function writeAsciiFile(filename,content) {
|
||||
if (!d) {
|
||||
d = document.createElement("div");
|
||||
d.id = "linkDiv";
|
||||
let htmlLink = "Download files: <a href='";
|
||||
htmlLink += "/tmp/" + prefix[2] + ".tgz'>";
|
||||
htmlLink += prefix[2] + ".tgz</a>";
|
||||
d.innerHTML = htmlLink;
|
||||
document.body.appendChild(d);
|
||||
}
|
||||
let htmlLink = "Download files: <a href='";
|
||||
htmlLink += "/tmp/" + prefix[2] + ".tgz'>";
|
||||
htmlLink += prefix[2] + ".tgz</a>";
|
||||
d.innerHTML = htmlLink;
|
||||
|
||||
return(1);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user