removed file extension

This commit is contained in:
rohitkumarankam 2022-02-25 23:27:18 +05:30
parent 9fe49aa96c
commit 6a680afd74

View File

@ -66,7 +66,7 @@ document.querySelector(".download-listener").addEventListener("click", () => {
var element = document.createElement('a');
const rawLink = RawLink.generate(rsg);
element.setAttribute('href', rawLink);
element.setAttribute('download', rsg.getSelectedCommandName() + '.txt');
element.setAttribute('download', rsg.getSelectedCommandName());
document.body.appendChild(element);
element.click();
document.body.removeChild(element);