diff --git a/js/script.js b/js/script.js index da2d761..8f1d676 100644 --- a/js/script.js +++ b/js/script.js @@ -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);