回答編集履歴
1
誤字の修正
answer
CHANGED
@@ -33,7 +33,7 @@
|
|
33
33
|
downloadLink.id = "text2";
|
34
34
|
document.body.appendChild(downloadLink);
|
35
35
|
var download = document.getElementById("text2");
|
36
|
-
download.setAttribute(
|
36
|
+
download.setAttribute("href", URL.createObjectURL(fileBlob));
|
37
37
|
download.download = document.getElementById("saveFileName").value + ".txt";
|
38
38
|
download.click();
|
39
39
|
} else {
|